2021-08-08 01:58:47 -07:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi, asn1crypto, cffi, pkg-config,
|
|
|
|
autoconf, automake, libtool, libffi, requests }:
|
2019-08-05 00:50:55 -07:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "coincurve";
|
2022-05-05 11:43:10 -07:00
|
|
|
version = "17.0.0";
|
2019-08-05 00:50:55 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-05-05 11:43:10 -07:00
|
|
|
hash = "sha256-aNpVr/iYcClS/aPuBP1u1gu2uR+RnGknB4btdmtUi5M";
|
2019-08-05 00:50:55 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
2021-08-08 01:58:47 -07:00
|
|
|
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
|
|
|
|
propagatedBuildInputs = [ asn1crypto cffi libffi requests ];
|
2019-08-05 00:50:55 -07:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Cross-platform Python CFFI bindings for libsecp256k1";
|
|
|
|
homepage = "https://github.com/ofek/coincurve";
|
|
|
|
maintainers = with maintainers; [ nixbitcoin ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|