depot/third_party/nixpkgs/pkgs/development/python-modules/piep/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

35 lines
704 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pygments,
pytestCheckHook,
}:
buildPythonPackage rec {
version = "0.10.0";
pname = "piep";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-aM7KQJZr1P0Hs2ReyRj2ItGUo+fRJ+TU3lLAU2Mu8KA=";
};
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.gpl3Only;
mainProgram = "piep";
};
}