depot/third_party/nixpkgs/pkgs/development/python-modules/serpent/default.nix
Default email 24fdeddc0a Project import generated by Copybara.
GitOrigin-RevId: 2768c7d042a37de65bb1b5b3268fc987e534c49d
2024-10-23 09:41:50 +03:00

41 lines
810 B
Nix

{
lib,
attrs,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonOlder,
pytz,
setuptools,
}:
buildPythonPackage rec {
pname = "serpent";
version = "1.41";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-BAcDX+PGZEOH1Iz/FGfVqp/v+BTQc3K3hnftDuPtcJU=";
};
build-system = [ setuptools ];
nativeCheckInputs = [
attrs
pytz
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 ];
};
}