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
42
pkgs/applications/networking/droopy/default.nix
Normal file
42
pkgs/applications/networking/droopy/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ stdenv, lib, fetchFromGitHub, wrapPython, fetchpatch }:
|
||||
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "droopy";
|
||||
version = "20160830";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stackp";
|
||||
repo = "Droopy";
|
||||
rev = "7a9c7bc46c4ff8b743755be86a9b29bd1a8ba1d9";
|
||||
sha256 = "03i1arwyj9qpfyyvccl21lbpz3rnnp1hsadvc0b23nh1z2ng9sff";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://patch-diff.githubusercontent.com/raw/stackp/Droopy/pull/30.patch";
|
||||
sha256 = "Y6jBraKvVQAiScbvLwezSKeWY3vaAbhaNXEGNaItigQ=";
|
||||
})
|
||||
(fetchpatch {
|
||||
url = "https://patch-diff.githubusercontent.com/raw/stackp/Droopy/pull/31.patch";
|
||||
sha256 = "1ig054rxn5r0ph4w4fhmrxlh158c97iqqc7dbnc819adn9nw96l5";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ wrapPython ];
|
||||
|
||||
installPhase = ''
|
||||
install -vD droopy $out/bin/droopy
|
||||
install -vD -m 644 man/droopy.1 $out/share/man/man1/droopy.1
|
||||
wrapPythonPrograms
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Mini Web server that let others upload files to your computer";
|
||||
homepage = "http://stackp.online.fr/droopy";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.Profpatsch ];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue