mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
pythonPackages.pep257: 0.3.2 -> 0.7.0
This commit is contained in:
parent
887590e1d2
commit
7680786f90
23
pkgs/development/python-modules/pep257.nix
Normal file
23
pkgs/development/python-modules/pep257.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, pytest, mock }:
|
||||
buildPythonPackage rec {
|
||||
name = "pep257-${version}";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/GreenSteam/pep257/archive/${version}.tar.gz";
|
||||
sha256 = "1ldpgil0kaf6wz5gvl9xdx35a62vc6bmgi3wbh9320dj5v2qk4wh";
|
||||
};
|
||||
|
||||
buildInputs = [ pytest mock ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/GreenSteam/pep257/;
|
||||
description = "Python docstring style checker";
|
||||
longDescription = "Static analysis tool for checking compliance with Python PEP 257.";
|
||||
lecense = licenses.mit;
|
||||
};
|
||||
}
|
@ -18419,28 +18419,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
pep257 = buildPythonPackage rec {
|
||||
name = "pep257-${version}";
|
||||
version = "0.3.2";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://github.com/GreenSteam/pep257/archive/${version}.tar.gz";
|
||||
sha256 = "0v8aq0xzsa7clazszxl42904c3jpq69lg8a5hg754bqcqf72hfrn";
|
||||
};
|
||||
LC_ALL="en_US.UTF-8";
|
||||
buildInputs = with self; [ pkgs.glibcLocales pytest_29 ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/GreenSteam/pep257/;
|
||||
description = "Python docstring style checker";
|
||||
longDescription = "Static analysis tool for checking compliance with Python PEP 257.";
|
||||
lecense = licenses.mit;
|
||||
};
|
||||
};
|
||||
pep257 = callPackage ../development/python-modules/pep257.nix { };
|
||||
|
||||
percol = buildPythonPackage rec {
|
||||
name = "percol-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user