2021-08-08 08:58:47 +00:00
|
|
|
{ lib, stdenv, buildPythonPackage, fetchPypi, asn1crypto, cffi, pkg-config,
|
|
|
|
autoconf, automake, libtool, libffi, requests }:
|
2019-08-05 07:50:55 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "coincurve";
|
2021-08-08 08:58:47 +00:00
|
|
|
version = "15.0.0";
|
2019-08-05 07:50:55 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-08 08:58:47 +00:00
|
|
|
sha256 = "0ras7qb4ib9sik703fcb9f3jrgq7nx5wvdgx9k1pshmrxl8lnlh6";
|
2019-08-05 07:50:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
2021-08-08 08:58:47 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
|
|
|
|
propagatedBuildInputs = [ asn1crypto cffi libffi requests ];
|
2019-08-05 07:50:55 +00: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;
|
|
|
|
};
|
|
|
|
}
|