mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
8c2aaf37fd
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/python3.7-httpsig/versions
33 lines
687 B
Nix
33 lines
687 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools_scm
|
|
, pycryptodome
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "httpsig";
|
|
version = "1.3.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1rkc3zwsq53rjsmc47335m4viljiwdbmw3y2zry4z70j8q1dbmki";
|
|
};
|
|
|
|
buildInputs = [ setuptools_scm ];
|
|
propagatedBuildInputs = [ pycryptodome requests ];
|
|
|
|
# Jailbreak pycryptodome
|
|
preBuild = ''
|
|
substituteInPlace setup.py --replace "==3.4.7" ""
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Sign HTTP requests with secure signatures";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ srhb ];
|
|
homepage = https://github.com/ahknight/httpsig;
|
|
};
|
|
}
|