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";
|
2021-08-08 01:58:47 -07:00
|
|
|
version = "15.0.0";
|
2019-08-05 00:50:55 -07:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-08 01:58:47 -07:00
|
|
|
sha256 = "0ras7qb4ib9sik703fcb9f3jrgq7nx5wvdgx9k1pshmrxl8lnlh6";
|
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;
|
|
|
|
};
|
|
|
|
}
|