depot/third_party/nixpkgs/pkgs/development/python-modules/http_signature/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
542 B
Nix

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