nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python39Packages.pep257: cleanup

+5 -7
+5 -7
pkgs/development/python-modules/pep257/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub, pytest, mock }: 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; 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 ]; 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 }