diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-04-07 13:20:00 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-04-08 11:36:06 +0200 |
commit | 77f9ebc8ada5a1aabcedeaadab70dab673255dbf (patch) | |
tree | d49805c93c408b1bdc0110bf2cbad45b496918ae /pkgs/development/python-modules/pytest-isort | |
parent | 5bd9342a7b8772e7a91700bac48b2c6d9e7aeebe (diff) | |
download | nixpkgs-77f9ebc8ada5a1aabcedeaadab70dab673255dbf.tar nixpkgs-77f9ebc8ada5a1aabcedeaadab70dab673255dbf.tar.gz nixpkgs-77f9ebc8ada5a1aabcedeaadab70dab673255dbf.tar.bz2 nixpkgs-77f9ebc8ada5a1aabcedeaadab70dab673255dbf.tar.lz nixpkgs-77f9ebc8ada5a1aabcedeaadab70dab673255dbf.tar.xz nixpkgs-77f9ebc8ada5a1aabcedeaadab70dab673255dbf.tar.zst nixpkgs-77f9ebc8ada5a1aabcedeaadab70dab673255dbf.zip |
python.pkgs.pytest-isort: init at 0.1.0
Diffstat (limited to 'pkgs/development/python-modules/pytest-isort')
-rw-r--r-- | pkgs/development/python-modules/pytest-isort/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-isort/default.nix b/pkgs/development/python-modules/pytest-isort/default.nix new file mode 100644 index 00000000000..c1866f174ea --- /dev/null +++ b/pkgs/development/python-modules/pytest-isort/default.nix @@ -0,0 +1,23 @@ +{ lib, buildPythonPackage, fetchPypi, pytestcache, pytest, isort }: + +buildPythonPackage rec { + pname = "pytest-isort"; + version = "0.1.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "e92798127e21d22513c62070989f0fb3b712650e48a4db13e5b8e8034d367cfe"; + }; + + propagatedBuildInputs = [ pytestcache pytest isort ]; + + # no tests in PyPI tarball, no tags on GitHub + # https://github.com/moccu/pytest-isort/pull/8 + doCheck = false; + + meta = with lib; { + description = "Pytest plugin to perform isort checks (import ordering)"; + homepage = https://github.com/moccu/pytest-isort/; + license = licenses.bsd3; + }; +} |