pythonPackages.httpbin: 0.2.0 -> 0.5.0
This commit is contained in:
parent
dbed116989
commit
e66c9221d6
27
pkgs/development/python-modules/httpbin/default.nix
Normal file
27
pkgs/development/python-modules/httpbin/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user