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
29
pkgs/servers/smcroute/default.nix
Normal file
29
pkgs/servers/smcroute/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libcap }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "smcroute";
|
||||
version = "2.5.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "troglobit";
|
||||
repo = "smcroute";
|
||||
rev = version;
|
||||
sha256 = "sha256-kMK2XLyI9GG83gxjVh4I7wSMEPM5iJSmgtwVJNHn9OQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ libcap ];
|
||||
|
||||
configureFlags = [
|
||||
"--localstatedir=/var"
|
||||
"--with-systemd=\$(out)/lib/systemd/system"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Static multicast routing daemon";
|
||||
homepage = "https://troglobit.com/smcroute.html";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ fpletz ];
|
||||
platforms = with platforms; (linux ++ freebsd ++ netbsd ++ openbsd);
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue