depot/third_party/nixpkgs/pkgs/development/python-modules/http_signature/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

26 lines
532 B
Nix

{ lib
, 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 lib; {
homepage = "https://github.com/atl/py-http-signature";
description = "Simple secure signing for HTTP requests using http-signature";
license = licenses.mit;
};
}