Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
953 B · 45 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ lib, buildPythonPackage, fetchFromGitHub, logical-unification, py, pytestCheckHook, pytest-html}:
buildPythonPackage rec { pname = "cons"; version = "0.4.5";
src = fetchFromGitHub { owner = "pythological"; repo = "python-cons"; rev = "fbeedfc8a3d1bff4ba179d492155cdd55538365e"; hash = "sha256-ivHFep9iYPvyiBIZKMAzqrLGnQkeuxd0meYMZwZFFH0="; };
propagatedBuildInputs = [ logical-unification ];
nativeCheckInputs = [ py 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 ]; };}