pythonPackages.http_signature: refactor move to python-modules
This commit is contained in:
parent
2bc69b7526
commit
8b5d562d25
26
pkgs/development/python-modules/http_signature/default.nix
Normal file
26
pkgs/development/python-modules/http_signature/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, pycrypto
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "http_signature";
|
||||
version = "0.1.4";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "14acc192ef20459d5e11b4e800dd3a4542f6bd2ab191bf5717c696bf30936c62";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pycrypto ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/atl/py-http-signature;
|
||||
description = "Simple secure signing for HTTP requests using http-signature";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -2452,23 +2452,7 @@ in {
|
||||
|
||||
html5lib = callPackage ../development/python-modules/html5lib { };
|
||||
|
||||
http_signature = buildPythonPackage (rec {
|
||||
name = "http_signature-0.1.4";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/h/http_signature/${name}.tar.gz";
|
||||
sha256 = "14acc192ef20459d5e11b4e800dd3a4542f6bd2ab191bf5717c696bf30936c62";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [pycrypto];
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/atl/py-http-signature;
|
||||
description = "";
|
||||
license = licenses.mit;
|
||||
};
|
||||
});
|
||||
http_signature = callPackage ../development/python-modules/http_signature { };
|
||||
|
||||
httpbin = callPackage ../development/python-modules/httpbin { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user