nixpkgs/pkgs/development/python-modules/pyflakes/default.nix

23 lines
560 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, isPyPy, unittest2 }:
buildPythonPackage rec {
pname = "pyflakes";
2018-07-22 11:17:18 +01:00
version = "2.0.0";
src = fetchPypi {
inherit pname version;
2018-07-22 11:17:18 +01:00
sha256 = "9a7662ec724d0120012f6e29d6248ae3727d821bba522a0e6b356eff19126a49";
};
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 ];
};
}