3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.cons: init at 0.4.5

This commit is contained in:
Etienne JEAN 2022-02-14 15:55:13 +01:00
parent 7984685707
commit b5ce29f490
2 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, logical-unification
, pytestCheckHook
, pytest-html
}:
buildPythonPackage rec {
pname = "cons";
version = "0.4.5";
src = fetchFromGitHub {
owner = "pythological";
repo = "python-cons";
rev = "fbeedfc8a3d1bff4ba179d492155cdd55538365e";
sha256 = "sha256-ivHFep9iYPvyiBIZKMAzqrLGnQkeuxd0meYMZwZFFH0=";
};
propagatedBuildInputs = [
logical-unification
];
checkInputs = [
pytestCheckHook
pytest-html
];
pytestFlagsArray = [
"--html=testing-report.html"
"--self-contained-html"
];
pythonImportsCheck = [ "cons" ];
meta = with lib; {
description = "An implementation of Lisp/Scheme-like cons in Python";
homepage = "https://github.com/pythological/python-cons";
changelog = "https://github.com/pythological/python-cons/releases";
license = licenses.gpl3Only;
maintainers = with maintainers; [ Etjean ];
};
}

View file

@ -1807,6 +1807,8 @@ in {
connexion = callPackage ../development/python-modules/connexion { };
cons = callPackage ../development/python-modules/cons { };
consonance = callPackage ../development/python-modules/consonance { };
constantly = callPackage ../development/python-modules/constantly { };