24fdeddc0a
GitOrigin-RevId: 2768c7d042a37de65bb1b5b3268fc987e534c49d
41 lines
810 B
Nix
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 ];
|
|
};
|
|
}
|