about summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-05-11 22:56:43 +0200
committerDaiderd Jordan <daiderd@gmail.com>2017-05-11 23:07:30 +0200
commit00df7774e887d39075d295289e2a498a879c8bb3 (patch)
treee85d9eeb250f8129aaa37c8e5adac9e0f3afc048 /pkgs/development/python-modules
parentf2c2aec0f64c557f7691d115ce5e4f7c97cd5239 (diff)
downloadnixlib-00df7774e887d39075d295289e2a498a879c8bb3.tar
nixlib-00df7774e887d39075d295289e2a498a879c8bb3.tar.gz
nixlib-00df7774e887d39075d295289e2a498a879c8bb3.tar.bz2
nixlib-00df7774e887d39075d295289e2a498a879c8bb3.tar.lz
nixlib-00df7774e887d39075d295289e2a498a879c8bb3.tar.xz
nixlib-00df7774e887d39075d295289e2a498a879c8bb3.tar.zst
nixlib-00df7774e887d39075d295289e2a498a879c8bb3.zip
python-pyflakes: 1.3.0 -> 1.5.0
Fixes #25678
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/pyflakes/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyflakes/default.nix b/pkgs/development/python-modules/pyflakes/default.nix
new file mode 100644
index 000000000000..fbb0de6f0ced
--- /dev/null
+++ b/pkgs/development/python-modules/pyflakes/default.nix
@@ -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 ];
+  };
+}