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
39
pkgs/development/python-modules/pgpy/default.nix
Normal file
39
pkgs/development/python-modules/pgpy/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ lib, pythonOlder, fetchFromGitHub, buildPythonPackage
|
||||
, six, enum34, pyasn1, cryptography
|
||||
, pytestCheckHook }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pgpy";
|
||||
version = "0.5.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "SecurityInnovation";
|
||||
repo = "PGPy";
|
||||
rev = "v${version}";
|
||||
sha256 = "03pch39y3hi4ici6y6lvz0j0zram8dw2wvnmq1zyjy3vyvm1ms4a";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
six
|
||||
pyasn1
|
||||
cryptography
|
||||
] ++ lib.optionals (pythonOlder "3.4") [
|
||||
enum34
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/SecurityInnovation/PGPy";
|
||||
description = "Pretty Good Privacy for Python 2 and 3";
|
||||
longDescription = ''
|
||||
PGPy is a Python (2 and 3) library for implementing Pretty Good Privacy
|
||||
into Python programs, conforming to the OpenPGP specification per RFC
|
||||
4880.
|
||||
'';
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ eadwu dotlambda ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue