mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
Merge pull request #114980 from fabaff/ge25519
This commit is contained in:
commit
d6716696e3
35
pkgs/development/python-modules/bitlist/default.nix
Normal file
35
pkgs/development/python-modules/bitlist/default.nix
Normal file
@ -0,0 +1,35 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, nose
|
||||
, parts
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "bitlist";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "04dz64r21a39p8wph5qlhvs5y873qgk6xxjlzw8n695b8jm3ixir";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
parts
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
nose
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "bitlist" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for working with little-endian list representation of bit strings";
|
||||
homepage = "https://github.com/lapets/bitlist";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
39
pkgs/development/python-modules/fe25519/default.nix
Normal file
39
pkgs/development/python-modules/fe25519/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
30
pkgs/development/python-modules/fountains/default.nix
Normal file
30
pkgs/development/python-modules/fountains/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, bitlist
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fountains";
|
||||
version = "0.2.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0jk5y099g6ggaq5lwp0jlg4asyhcdxnl3him3ibmzc1k9nnknp30";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bitlist
|
||||
];
|
||||
|
||||
# Project has no test
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "fountains" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for generating and embedding data for unit testing";
|
||||
homepage = "https://github.com/reity/fountains";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
41
pkgs/development/python-modules/ge25519/default.nix
Normal file
41
pkgs/development/python-modules/ge25519/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, bitlist
|
||||
, buildPythonPackage
|
||||
, fe25519
|
||||
, fetchPypi
|
||||
, fountains
|
||||
, nose
|
||||
, parts
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ge25519";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1wgv0vqg8iv9y5d7if14gmcgslwd5zzgk322w9jaxdfbndldddik";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
25
pkgs/development/python-modules/parts/default.nix
Normal file
25
pkgs/development/python-modules/parts/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "parts";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1ym238hxwsw15ivvf6gzmkmla08b9hwhdyc3v6rs55wga9j3a4db";
|
||||
};
|
||||
|
||||
# Project has no tests
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "parts" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for common list functions related to partitioning lists";
|
||||
homepage = "https://github.com/lapets/parts";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -989,6 +989,8 @@ in {
|
||||
|
||||
bitcoin-price-api = callPackage ../development/python-modules/bitcoin-price-api { };
|
||||
|
||||
bitlist = callPackage ../development/python-modules/bitlist { };
|
||||
|
||||
bitmath = callPackage ../development/python-modules/bitmath { };
|
||||
|
||||
bitstring = callPackage ../development/python-modules/bitstring { };
|
||||
@ -2244,6 +2246,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; };
|
||||
@ -2458,6 +2462,8 @@ in {
|
||||
foundationdb60 = callPackage ../servers/foundationdb/python.nix { foundationdb = pkgs.foundationdb60; };
|
||||
foundationdb61 = callPackage ../servers/foundationdb/python.nix { foundationdb = pkgs.foundationdb61; };
|
||||
|
||||
fountains = callPackage ../development/python-modules/fountains { };
|
||||
|
||||
foxdot = callPackage ../development/python-modules/foxdot { };
|
||||
|
||||
fpdf = callPackage ../development/python-modules/fpdf { };
|
||||
@ -2542,6 +2548,8 @@ in {
|
||||
|
||||
gdrivefs = callPackage ../development/python-modules/gdrivefs { };
|
||||
|
||||
ge25519 = callPackage ../development/python-modules/ge25519 { };
|
||||
|
||||
geant4 = disabledIf (!isPy3k) (toPythonModule (pkgs.geant4.override {
|
||||
enablePython = true;
|
||||
python3 = python;
|
||||
@ -4771,6 +4779,8 @@ in {
|
||||
|
||||
partd = callPackage ../development/python-modules/partd { };
|
||||
|
||||
parts = callPackage ../development/python-modules/parts { };
|
||||
|
||||
parver = callPackage ../development/python-modules/parver { };
|
||||
arpeggio = callPackage ../development/python-modules/arpeggio { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user