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

24 lines
625 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, pythonOlder, unittest2 }:
buildPythonPackage rec {
pname = "pyflakes";
2020-06-06 07:47:24 +01:00
version = "2.2.0";
src = fetchPypi {
inherit pname version;
2020-06-06 07:47:24 +01:00
sha256 = "35b2d75ee967ea93b55750aa9edbbf72813e06a66ba54438df2cfac9e3c27fc8";
};
2019-02-14 10:05:51 +00:00
checkInputs = [ unittest2 ];
# some tests are output dependent, which have changed slightly
doCheck = pythonOlder "3.9";
meta = with lib; {
homepage = "https://launchpad.net/pyflakes";
description = "A simple program which checks Python source files for errors";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}