ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / cons / default.nix
blob2977051d87b28164c2b9fa4b6b401c5e055f3427
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , logical-unification
5 , pytestCheckHook
6 , pytest-html
7 }:
9 buildPythonPackage rec {
10   pname = "cons";
11   version = "0.4.5";
13   src = fetchFromGitHub {
14     owner = "pythological";
15     repo = "python-cons";
16     rev = "fbeedfc8a3d1bff4ba179d492155cdd55538365e";
17     sha256 = "sha256-ivHFep9iYPvyiBIZKMAzqrLGnQkeuxd0meYMZwZFFH0=";
18   };
20   propagatedBuildInputs = [
21     logical-unification
22   ];
24   checkInputs = [
25     pytestCheckHook
26     pytest-html
27   ];
29   pytestFlagsArray = [
30     "--html=testing-report.html"
31     "--self-contained-html"
32   ];
34   pythonImportsCheck = [ "cons" ];
36   meta = with lib; {
37     description = "An implementation of Lisp/Scheme-like cons in Python";
38     homepage = "https://github.com/pythological/python-cons";
39     changelog = "https://github.com/pythological/python-cons/releases";
40     license = licenses.gpl3Only;
41     maintainers = with maintainers; [ Etjean ];
42   };