summary refs log tree commit diff
diff options
context:
space:
mode:
authorLancelot SIX <lsix@lancelotsix.com>2017-01-31 22:19:01 +0100
committerLancelot SIX <lsix@lancelotsix.com>2017-02-01 15:11:45 +0100
commit9d1e203501898868c9e588fc8e567ac902564f47 (patch)
tree1cf790a8746eeaf2289710cd215ceef33cb2b71d
parent7680786f9063af59ecf203149f7c8c330071239a (diff)
downloadnixlib-9d1e203501898868c9e588fc8e567ac902564f47.tar
nixlib-9d1e203501898868c9e588fc8e567ac902564f47.tar.gz
nixlib-9d1e203501898868c9e588fc8e567ac902564f47.tar.bz2
nixlib-9d1e203501898868c9e588fc8e567ac902564f47.tar.lz
nixlib-9d1e203501898868c9e588fc8e567ac902564f47.tar.xz
nixlib-9d1e203501898868c9e588fc8e567ac902564f47.tar.zst
nixlib-9d1e203501898868c9e588fc8e567ac902564f47.zip
pythonPackages.pytest-pep257: 0.0.1 -> 0.0.5
-rw-r--r--pkgs/development/python-modules/pytest-pep257.nix19
-rw-r--r--pkgs/top-level/python-packages.nix19
2 files changed, 20 insertions, 18 deletions
diff --git a/pkgs/development/python-modules/pytest-pep257.nix b/pkgs/development/python-modules/pytest-pep257.nix
new file mode 100644
index 000000000000..7ce63ebc7a6d
--- /dev/null
+++ b/pkgs/development/python-modules/pytest-pep257.nix
@@ -0,0 +1,19 @@
+{ stdenv, buildPythonPackage, fetchurl, pytest, pep257 }:
+buildPythonPackage rec {
+   name = "pytest-pep257-${version}";
+   version = "0.0.5";
+
+   src = fetchurl {
+     url = "mirror://pypi/p/pytest-pep257/${name}.tar.gz";
+     sha256 = "082v3d5k4331x53za51kl8zxsndsw1pcyf1xdfpb2gjdjrhixb8w";
+   };
+
+   buildInputs = [ pytest ];
+   propagatedBuildInputs = [ pep257 ];
+
+   meta = with stdenv.lib; {
+     homepage = https://github.com/anderslime/pytest-pep257;
+     description = "py.test plugin for PEP257";
+     license = licenses.mit;
+   };
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index f25937f4b232..2746e1eb33ef 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -5126,24 +5126,7 @@ in {
     };
   };
 
-  pytestpep257 = buildPythonPackage rec {
-     name = "pytest-pep257-${version}";
-     version = "0.0.1";
-
-     src = pkgs.fetchurl {
-       url = "mirror://pypi/p/pytest-pep257/${name}.tar.gz";
-       sha256 = "003vdkxpx37n0kjqpwgj3314hwk2jfz3nz58db7xh68bf8xy75lk";
-     };
-
-     buildInputs = with self; [ pytest ];
-     propagatedBuildInputs = with self ; [ pep257 ];
-
-     meta = {
-       homepage = https://github.com/anderslime/pytest-pep257;
-       description = "py.test plugin for PEP257";
-       license = licenses.mit;
-     };
-  };
+  pytest-pep257 = callPackage ../development/python-modules/pytest-pep257.nix { };
 
   pytest-raisesregexp = buildPythonPackage rec {
     name = "pytest-raisesregexp-${version}";