2021-03-09 03:18:52 +00:00
|
|
|
{ lib
|
|
|
|
, bitlist
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, fountains
|
|
|
|
, parts
|
|
|
|
, nose
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "fe25519";
|
2021-09-26 12:46:18 +00:00
|
|
|
version = "0.3.0";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-26 12:46:18 +00:00
|
|
|
sha256 = "8819659f19b51713199a75fda5107c93fbb6e2cb4afef3164ce7932b5eb276b9";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
bitlist
|
|
|
|
fountains
|
|
|
|
parts
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
nose
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "fe25519" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python field operations for Curve25519's prime";
|
|
|
|
homepage = "https://github.com/BjoernMHaase/fe25519";
|
|
|
|
license = with licenses; [ cc0 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|