tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python39Packages.pep257: cleanup
Sandro Jäckel
4 years ago
7bbd7efd
955a657d
+5
-7
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
pep257
default.nix
+5
-7
pkgs/development/python-modules/pep257/default.nix
···
1
1
-
{ lib, buildPythonPackage, fetchFromGitHub, pytest, mock }:
1
1
+
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, mock }:
2
2
+
2
3
buildPythonPackage rec {
3
4
pname = "pep257";
4
5
version = "0.7.0";
···
6
7
src = fetchFromGitHub {
7
8
owner = "GreenSteam";
8
9
repo = "pep257";
9
9
-
rev = "0.7.0";
10
10
+
rev = version;
10
11
sha256 = "sha256-RkE9kkNkRTmZ8zJVwQzMsxU1hcjlxX6UA+ehnareynQ=";
11
12
};
12
13
13
13
-
checkInputs = [ pytest mock ];
14
14
-
15
15
-
checkPhase = ''
16
16
-
py.test
17
17
-
'';
14
14
+
checkInputs = [ pytestCheckHook mock ];
18
15
19
16
meta = with lib; {
20
17
homepage = "https://github.com/GreenSteam/pep257/";
21
18
description = "Python docstring style checker";
22
19
longDescription = "Static analysis tool for checking compliance with Python PEP 257.";
23
20
license = licenses.mit;
21
21
+
maintainers = with maintainers; [ ];
24
22
};
25
23
}