Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 953 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, logical-unification 5, py 6, pytestCheckHook 7, pytest-html 8}: 9 10buildPythonPackage rec { 11 pname = "cons"; 12 version = "0.4.5"; 13 14 src = fetchFromGitHub { 15 owner = "pythological"; 16 repo = "python-cons"; 17 rev = "fbeedfc8a3d1bff4ba179d492155cdd55538365e"; 18 hash = "sha256-ivHFep9iYPvyiBIZKMAzqrLGnQkeuxd0meYMZwZFFH0="; 19 }; 20 21 propagatedBuildInputs = [ 22 logical-unification 23 ]; 24 25 nativeCheckInputs = [ 26 py 27 pytestCheckHook 28 pytest-html 29 ]; 30 31 pytestFlagsArray = [ 32 "--html=testing-report.html" 33 "--self-contained-html" 34 ]; 35 36 pythonImportsCheck = [ "cons" ]; 37 38 meta = with lib; { 39 description = "An implementation of Lisp/Scheme-like cons in Python"; 40 homepage = "https://github.com/pythological/python-cons"; 41 changelog = "https://github.com/pythological/python-cons/releases"; 42 license = licenses.gpl3Only; 43 maintainers = with maintainers; [ Etjean ]; 44 }; 45}