35 lines
704 B
Nix
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";
|
|
};
|
|
}
|