1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

pythonPackages.httpbin: 0.2.0 -> 0.5.0

This commit is contained in:
Jörg Thalheim 2017-04-27 08:24:07 +02:00
parent dbed116989
commit e66c9221d6
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA
2 changed files with 28 additions and 17 deletions

View file

@ -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;
};
}

View file

@ -12721,23 +12721,7 @@ in {
};
});
httpbin = buildPythonPackage rec {
name = "httpbin-0.2.0";
src = pkgs.fetchurl {
url = "mirror://pypi/h/httpbin/${name}.tar.gz";
sha256 = "6b57f563900ecfe126015223a259463848daafbdc2687442317c0992773b9054";
};
propagatedBuildInputs = with self; [ flask markupsafe decorator itsdangerous six ];
meta = {
homepage = https://github.com/kennethreitz/httpbin;
description = "HTTP Request & Response Service";
license = licenses.mit;
};
};
httpbin = callPackage ../development/python-modules/httpbin { };
httplib2 = buildPythonPackage rec {
name = "httplib2-0.9.2";