python3Packages.fe25519: init at 0.2.0

This commit is contained in:
Fabian Affolter 2021-03-03 13:52:49 +01:00
parent 390684da02
commit 60b78b1c09
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib
, bitlist
, buildPythonPackage
, fetchPypi
, fountains
, parts
, nose
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "fe25519";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "1m85qvw9dwxk81mv9k45c9n75pk8wqn70qkinqh56h5zv56vgq24";
};
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 ];
};
}

View File

@ -2230,6 +2230,8 @@ in {
fdint = callPackage ../development/python-modules/fdint { };
fe25519 = callPackage ../development/python-modules/fe25519 { };
feedgen = callPackage ../development/python-modules/feedgen { };
feedgenerator = callPackage ../development/python-modules/feedgenerator { inherit (pkgs) glibcLocales; };