uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
29
pkgs/development/python-modules/phe/default.nix
Normal file
29
pkgs/development/python-modules/phe/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPyPy, isPy3k, click, gmpy2, numpy } :
|
||||
|
||||
let
|
||||
pname = "phe";
|
||||
version = "1.5.0";
|
||||
in
|
||||
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
|
||||
# https://github.com/n1analytics/python-paillier/issues/51
|
||||
disabled = isPyPy || ! isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-mS+3CR0kJ/DZczlG+PNQrN1NHQEgV/Kq02S6eflwM5w=";
|
||||
};
|
||||
|
||||
buildInputs = [ click gmpy2 numpy ];
|
||||
|
||||
# 29/233 tests fail
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A library for Partially Homomorphic Encryption in Python";
|
||||
homepage = "https://github.com/n1analytics/python-paillier";
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue