parent
f2c2aec0f6
commit
00df7774e8
23
pkgs/development/python-modules/pyflakes/default.nix
Normal file
23
pkgs/development/python-modules/pyflakes/default.nix
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, unittest2 }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pyflakes";
|
||||||
|
version = "1.5.0";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1x1pcca4a24k4pw8x1c77sgi58cg1wl2k38mp8a25k608pzls3da";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ unittest2 ];
|
||||||
|
|
||||||
|
doCheck = !isPyPy;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://launchpad.net/pyflakes;
|
||||||
|
description = "A simple program which checks Python source files for errors";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ garbas ];
|
||||||
|
};
|
||||||
|
}
|
@ -19820,28 +19820,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pyflakes = buildPythonPackage rec {
|
pyflakes = callPackage ../development/python-modules/pyflakes { };
|
||||||
pname = "pyflakes";
|
|
||||||
version = "1.3.0";
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${name}.tar.gz";
|
|
||||||
sha256 = "a4f93317c97a9d9ed71d6ecfe08b68e3de9fea3f4d94dcd1d9d83ccbf929bc31";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ unittest2 ];
|
|
||||||
|
|
||||||
doCheck = !isPyPy;
|
|
||||||
force-rebuild = 1; # fix transient test suite error at http://hydra.nixos.org/build/45083762
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://launchpad.net/pyflakes;
|
|
||||||
description = "A simple program which checks Python source files for errors";
|
|
||||||
license = licenses.mit;
|
|
||||||
maintainers = with maintainers; [ garbas ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
pyftgl = buildPythonPackage rec {
|
pyftgl = buildPythonPackage rec {
|
||||||
name = "pyftgl-0.4b";
|
name = "pyftgl-0.4b";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user