Loading pkgs/development/python-modules/serpent/default.nix +11 −6 Original line number Diff line number Diff line { lib, attrs, buildPythonPackage, fetchPypi, isPy27, enum34, attrs, pytz, pytestCheckHook, pythonOlder, pytz, setuptools, }: buildPythonPackage rec { pname = "serpent"; version = "1.41"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; hash = "sha256-BAcDX+PGZEOH1Iz/FGfVqp/v+BTQc3K3hnftDuPtcJU="; }; propagatedBuildInputs = lib.optionals isPy27 [ enum34 ]; build-system = [ setuptools ]; nativeCheckInputs = [ attrs Loading @@ -27,9 +29,12 @@ buildPythonPackage rec { pytestCheckHook ]; pythonImportsCheck = [ "serpent" ]; meta = with lib; { description = "Simple serialization library based on ast.literal_eval"; homepage = "https://github.com/irmen/Serpent"; changelog = "https://github.com/irmen/Serpent/releases/tag/serpent-${version}"; license = licenses.mit; maintainers = with maintainers; [ prusnak ]; }; Loading Loading
pkgs/development/python-modules/serpent/default.nix +11 −6 Original line number Diff line number Diff line { lib, attrs, buildPythonPackage, fetchPypi, isPy27, enum34, attrs, pytz, pytestCheckHook, pythonOlder, pytz, setuptools, }: buildPythonPackage rec { pname = "serpent"; version = "1.41"; format = "setuptools"; pyproject = true; disabled = pythonOlder "3.9"; src = fetchPypi { inherit pname version; hash = "sha256-BAcDX+PGZEOH1Iz/FGfVqp/v+BTQc3K3hnftDuPtcJU="; }; propagatedBuildInputs = lib.optionals isPy27 [ enum34 ]; build-system = [ setuptools ]; nativeCheckInputs = [ attrs Loading @@ -27,9 +29,12 @@ buildPythonPackage rec { pytestCheckHook ]; pythonImportsCheck = [ "serpent" ]; meta = with lib; { description = "Simple serialization library based on ast.literal_eval"; homepage = "https://github.com/irmen/Serpent"; changelog = "https://github.com/irmen/Serpent/releases/tag/serpent-${version}"; license = licenses.mit; maintainers = with maintainers; [ prusnak ]; }; Loading