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
50
pkgs/tools/networking/saldl/default.nix
Normal file
50
pkgs/tools/networking/saldl/default.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, wafHook
|
||||
, python3
|
||||
, asciidoc
|
||||
, docbook_xml_dtd_45
|
||||
, docbook_xsl
|
||||
, libxml2
|
||||
, libxslt
|
||||
, curl
|
||||
, libevent
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "saldl";
|
||||
version = "41";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-PAX2MUyBWWU8kGkaeoCJteidgszh7ipwDJbrLXzVsn0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
wafHook
|
||||
python3
|
||||
asciidoc
|
||||
docbook_xml_dtd_45
|
||||
docbook_xsl
|
||||
libxml2
|
||||
libxslt
|
||||
];
|
||||
|
||||
buildInputs = [ curl libevent ];
|
||||
|
||||
wafConfigureFlags = [ "--saldl-version ${version}" "--no-werror" ];
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI downloader optimized for speed and early preview";
|
||||
homepage = "https://saldl.github.io";
|
||||
license = licenses.agpl3;
|
||||
maintainers = with maintainers; [ zowoq ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue