From 390684da02cf154c25355212c86609c335414486 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 3 Mar 2021 13:48:33 +0100 Subject: [PATCH 1/5] python3Packages.bitlist: init at 0.3.1 --- .../python-modules/bitlist/default.nix | 35 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 37 insertions(+) create mode 100644 pkgs/development/python-modules/bitlist/default.nix diff --git a/pkgs/development/python-modules/bitlist/default.nix b/pkgs/development/python-modules/bitlist/default.nix new file mode 100644 index 000000000000..ac8cf39cff2f --- /dev/null +++ b/pkgs/development/python-modules/bitlist/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 810ecb9b86f9..de94696c610c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -979,6 +979,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 { }; From 60b78b1c09951a0732b21cb403d927082081d27f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 3 Mar 2021 13:52:49 +0100 Subject: [PATCH 2/5] python3Packages.fe25519: init at 0.2.0 --- .../python-modules/fe25519/default.nix | 39 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 41 insertions(+) create mode 100644 pkgs/development/python-modules/fe25519/default.nix diff --git a/pkgs/development/python-modules/fe25519/default.nix b/pkgs/development/python-modules/fe25519/default.nix new file mode 100644 index 000000000000..466de64453f4 --- /dev/null +++ b/pkgs/development/python-modules/fe25519/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index de94696c610c..137826f0e7c4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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; }; From 7cdb7324494760a016f8772954eef10de71e3b79 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 3 Mar 2021 13:54:41 +0100 Subject: [PATCH 3/5] python3Packages.ge25519: init at 0.2.0 --- .../python-modules/ge25519/default.nix | 41 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 + 2 files changed, 43 insertions(+) create mode 100644 pkgs/development/python-modules/ge25519/default.nix diff --git a/pkgs/development/python-modules/ge25519/default.nix b/pkgs/development/python-modules/ge25519/default.nix new file mode 100644 index 000000000000..0e8d3722fbec --- /dev/null +++ b/pkgs/development/python-modules/ge25519/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 137826f0e7c4..bd6cc68d213e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2530,6 +2530,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; From e83c692f972cb8b3190f85ed8705f1d2eddc4c53 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 6 Mar 2021 21:44:29 +0100 Subject: [PATCH 4/5] python3Packages.fountains: init at 0.2.1 --- .../python-modules/fountains/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/fountains/default.nix diff --git a/pkgs/development/python-modules/fountains/default.nix b/pkgs/development/python-modules/fountains/default.nix new file mode 100644 index 000000000000..b706930b3ef3 --- /dev/null +++ b/pkgs/development/python-modules/fountains/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index bd6cc68d213e..65a8db8108e9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -2446,6 +2446,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 { }; From 10b1c7e54b97ae6053adf7346349d18644d8edfa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 6 Mar 2021 21:48:17 +0100 Subject: [PATCH 5/5] python3Packages.parts: init at 1.0.2 --- .../python-modules/parts/default.nix | 25 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/python-modules/parts/default.nix diff --git a/pkgs/development/python-modules/parts/default.nix b/pkgs/development/python-modules/parts/default.nix new file mode 100644 index 000000000000..1bf7f26adfd0 --- /dev/null +++ b/pkgs/development/python-modules/parts/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 65a8db8108e9..042590dff89f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4751,6 +4751,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 { };