1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 pygments,
7 pytestCheckHook,
8}:
9
10buildPythonPackage rec {
11 version = "0.10.0";
12 pname = "piep";
13 pyproject = true;
14
15 src = fetchPypi {
16 inherit pname version;
17 hash = "sha256-aM7KQJZr1P0Hs2ReyRj2ItGUo+fRJ+TU3lLAU2Mu8KA=";
18 };
19
20 build-system = [ setuptools ];
21
22 dependencies = [ pygments ];
23
24 pythonImportsCheck = [ "piep" ];
25
26 nativeCheckInputs = [ pytestCheckHook ];
27
28 meta = with lib; {
29 description = "Bringing the power of python to stream editing";
30 homepage = "https://github.com/timbertson/piep";
31 maintainers = with maintainers; [ timbertson ];
32 license = licenses.gpl3Only;
33 mainProgram = "piep";
34 };
35}