tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
0
fork
atom
nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
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
-
{ lib, buildPythonPackage, fetchFromGitHub, pytest, mock }:
0
2
buildPythonPackage rec {
3
pname = "pep257";
4
version = "0.7.0";
···
7
src = fetchFromGitHub {
8
owner = "GreenSteam";
9
repo = "pep257";
10
-
rev = "0.7.0";
11
sha256 = "sha256-RkE9kkNkRTmZ8zJVwQzMsxU1hcjlxX6UA+ehnareynQ=";
12
};
13
14
-
checkInputs = [ pytest mock ];
15
-
16
-
checkPhase = ''
17
-
py.test
18
-
'';
19
20
meta = with lib; {
21
homepage = "https://github.com/GreenSteam/pep257/";
22
description = "Python docstring style checker";
23
longDescription = "Static analysis tool for checking compliance with Python PEP 257.";
24
license = licenses.mit;
0
25
};
26
}
···
1
+
{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, mock }:
2
+
3
buildPythonPackage rec {
4
pname = "pep257";
5
version = "0.7.0";
···
6
src = fetchFromGitHub {
7
owner = "GreenSteam";
8
repo = "pep257";
9
+
rev = version;
10
sha256 = "sha256-RkE9kkNkRTmZ8zJVwQzMsxU1hcjlxX6UA+ehnareynQ=";
11
};
12
13
+
checkInputs = [ pytestCheckHook mock ];
0
0
0
0
14
15
meta = with lib; {
16
homepage = "https://github.com/GreenSteam/pep257/";
17
description = "Python docstring style checker";
18
longDescription = "Static analysis tool for checking compliance with Python PEP 257.";
19
license = licenses.mit;
20
+
maintainers = with maintainers; [ ];
21
};
22
}