mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
python311Packages.piep: refactor and drop nose
This commit is contained in:
parent
ea50ab34f6
commit
2482fc8bd1
@ -2,29 +2,34 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
nose,
|
||||
setuptools,
|
||||
pygments,
|
||||
isPy3k,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.10.0";
|
||||
format = "setuptools";
|
||||
pname = "piep";
|
||||
disabled = !isPy3k;
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-aM7KQJZr1P0Hs2ReyRj2ItGUo+fRJ+TU3lLAU2Mu8KA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pygments ];
|
||||
nativeCheckInputs = [ nose ];
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [ pygments ];
|
||||
|
||||
pythonImportsCheck = [ "piep" ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bringing the power of python to stream editing";
|
||||
homepage = "https://github.com/timbertson/piep";
|
||||
maintainers = with maintainers; [ timbertson ];
|
||||
license = licenses.gpl3;
|
||||
license = licenses.gpl3Only;
|
||||
mainProgram = "piep";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user