summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-pep257
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-11-05 10:45:54 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2017-11-05 10:45:54 +0100
commit07eeeb36008b63c8edfc75fce79beb028cd5c1e4 (patch)
tree815bfac4b5ee67fc223ea785e965c2680bac4db0 /pkgs/development/python-modules/pytest-pep257
parent37d5539aeb10973aba9c84f5214625c85e9c39b4 (diff)
downloadnixpkgs-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar
nixpkgs-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar.gz
nixpkgs-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar.bz2
nixpkgs-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar.lz
nixpkgs-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar.xz
nixpkgs-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.tar.zst
nixpkgs-07eeeb36008b63c8edfc75fce79beb028cd5c1e4.zip
Python: move expressions in python-modules to their own folders
Diffstat (limited to 'pkgs/development/python-modules/pytest-pep257')
-rw-r--r--pkgs/development/python-modules/pytest-pep257/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pytest-pep257/default.nix b/pkgs/development/python-modules/pytest-pep257/default.nix
new file mode 100644
index 00000000000..1509d80feb1
--- /dev/null
+++ b/pkgs/development/python-modules/pytest-pep257/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, buildPythonPackage, fetchurl, pytest, pep257 }:
+
+buildPythonPackage rec {
+  pname = "pytest-pep257";
+  name = "${pname}-${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;
+  };
+}