depot/third_party/nixpkgs/pkgs/development/python-modules/pastescript/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

54 lines
1,000 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
six,
paste,
setuptools,
pastedeploy,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pastescript";
version = "3.6.0";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "PasteScript";
inherit version;
hash = "sha256-HCLSt81TUWRr7tKMb3DrSipLklZR2a/Ko1AdBsq7UXE=";
};
build-system = [ setuptools ];
propagatedBuildInputs = [
paste
pastedeploy
six
];
# test suite seems to unset PYTHONPATH
doCheck = false;
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [ "appsetup/testfiles" ];
pythonImportsCheck = [
"paste.script"
"paste.deploy"
"paste.util"
];
meta = with lib; {
description = "Pluggable command-line frontend, including commands to setup package file layouts";
mainProgram = "paster";
homepage = "https://github.com/cdent/pastescript/";
license = licenses.mit;
maintainers = [ ];
};
}