mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 19:08:30 +00:00
23 lines
560 B
Nix
23 lines
560 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, isPyPy, unittest2 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyflakes";
|
|
version = "2.0.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
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 ];
|
|
};
|
|
}
|