Files
nixpkgs/pkgs/development/python-modules/pastescript/default.nix
T
Himadri Bhattacharjee e426922e81 python3Packages.pastescript: remove nose dependency
Addresses #326513.

Dependency nose was removed in version 3.3.0 (2023-01-03).
Replaced `format` parameter with `pyproject = true` and `build-system`
set to `setuptools`
2024-07-15 11:04:53 +05:30

55 lines
1018 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 = with maintainers; [ ];
};
}