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
26
pkgs/development/python-modules/pydes/default.nix
Normal file
26
pkgs/development/python-modules/pydes/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ lib, buildPythonPackage, fetchFromGitHub, python }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pydes";
|
||||
version = "unstable-2019-01-08";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "twhiteman";
|
||||
repo = "pyDes";
|
||||
rev = "e988a5ffc9abb8010fc75dba54904d1c5dbe83db";
|
||||
sha256 = "0sic8wbyk5azb4d4m6zbc96lfqcw8s2pzcv9nric5yqc751613ww";
|
||||
};
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} test_pydes.py
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "pyDes" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A pure python module which implements the DES and Triple-DES encryption algorithms";
|
||||
homepage = "https://github.com/twhiteman/pyDes";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ j0hax ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue