2021-03-09 03:18:52 +00:00
|
|
|
{ lib
|
|
|
|
, bitlist
|
|
|
|
, buildPythonPackage
|
|
|
|
, fe25519
|
|
|
|
, fetchPypi
|
|
|
|
, fountains
|
|
|
|
, nose
|
|
|
|
, parts
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ge25519";
|
2021-09-28 08:13:01 +00:00
|
|
|
version = "1.0.0";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-28 08:13:01 +00:00
|
|
|
sha256 = "sha256-f7xvZ92zRO3GLSdfgEyhkWVwAFT2TvKHy6+iF+k43bI=";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
fe25519
|
|
|
|
parts
|
|
|
|
bitlist
|
|
|
|
fountains
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
nose
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "ge25519" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python implementation of Ed25519 group elements and operations";
|
|
|
|
homepage = "https://github.com/nthparty/ge25519";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|