about summary refs log tree commit diff
path: root/pkgs/development/python-modules/piep/default.nix
blob: 6fc53f1bec97820c938c3ce8fd460fc89af39fca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
  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";
  };
}