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
37
pkgs/tools/networking/yrd/default.nix
Normal file
37
pkgs/tools/networking/yrd/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "yrd";
|
||||
version = "0.5.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kpcyrd";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1yx1hr8z4cvlb3yi24dwafs0nxq41k4q477jc9q24w61a0g662ps";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
argh
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = with python3.pkgs; [
|
||||
nose
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests -v yrd
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Cjdns swiss army knife";
|
||||
maintainers = with maintainers; [ akru ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl3Only;
|
||||
homepage = "https://github.com/kpcyrd/yrd";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue