summary refs log tree commit diff
path: root/pkgs/development/python-modules/httpbin
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-04-27 08:24:07 +0200
committerJörg Thalheim <joerg@thalheim.io>2017-04-27 08:33:34 +0200
commite66c9221d6ebea2e79c9a3a27643dc32429f2c61 (patch)
tree77f63c864c4505b7a1a2ac63b45c5228547da270 /pkgs/development/python-modules/httpbin
parentdbed1169894285790fed68cbab16e2bf852ecf2d (diff)
downloadnixpkgs-e66c9221d6ebea2e79c9a3a27643dc32429f2c61.tar
nixpkgs-e66c9221d6ebea2e79c9a3a27643dc32429f2c61.tar.gz
nixpkgs-e66c9221d6ebea2e79c9a3a27643dc32429f2c61.tar.bz2
nixpkgs-e66c9221d6ebea2e79c9a3a27643dc32429f2c61.tar.lz
nixpkgs-e66c9221d6ebea2e79c9a3a27643dc32429f2c61.tar.xz
nixpkgs-e66c9221d6ebea2e79c9a3a27643dc32429f2c61.tar.zst
nixpkgs-e66c9221d6ebea2e79c9a3a27643dc32429f2c61.zip
pythonPackages.httpbin: 0.2.0 -> 0.5.0
Diffstat (limited to 'pkgs/development/python-modules/httpbin')
-rw-r--r--pkgs/development/python-modules/httpbin/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/httpbin/default.nix b/pkgs/development/python-modules/httpbin/default.nix
new file mode 100644
index 00000000000..72917fdd771
--- /dev/null
+++ b/pkgs/development/python-modules/httpbin/default.nix
@@ -0,0 +1,27 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, flask
+, markupsafe
+, decorator
+, itsdangerous
+, six }:
+
+buildPythonPackage rec {
+  pname = "httpbin";
+  version = "0.5.0";
+  name = "${pname}-${version}";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "6b57f563900ecfe126015223a259463848daafbdc2687442317c0992773b9054";
+  };
+
+  propagatedBuildInputs = [ flask markupsafe decorator itsdangerous six ];
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/kennethreitz/httpbin;
+    description = "HTTP Request & Response Service";
+    license = licenses.mit;
+  };
+}