pythonPackages.pyannotate: init at 1.0.6
This commit is contained in:
parent
909c46b271
commit
979f91567d
34
pkgs/development/python-modules/pyannotate/default.nix
Normal file
34
pkgs/development/python-modules/pyannotate/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
, six
|
||||
, mypy_extensions
|
||||
, typing
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "1.0.6";
|
||||
pname = "pyannotate";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "dbdc2a26cbf45490a650e976ba45f99abe9ddbf0af5746307914e5ef419e325e";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ six mypy_extensions ]
|
||||
++ stdenv.lib.optionals (pythonOlder "3.5") [ typing ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/dropbox/pyannotate;
|
||||
description = "Auto-generate PEP-484 annotations";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.costrouc ];
|
||||
};
|
||||
}
|
@ -416,6 +416,8 @@ in {
|
||||
inherit (pkgs) arrow-cpp cmake pkgconfig;
|
||||
};
|
||||
|
||||
pyannotate = callPackage ../development/python-modules/pyannotate { };
|
||||
|
||||
pyatspi = callPackage ../development/python-modules/pyatspi { };
|
||||
|
||||
pyaxmlparser = callPackage ../development/python-modules/pyaxmlparser { };
|
||||
|
Loading…
Reference in New Issue
Block a user