1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/servers/smcroute/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

30 lines
779 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libcap }:
stdenv.mkDerivation rec {
pname = "smcroute";
version = "2.4.4";
src = fetchFromGitHub {
owner = "troglobit";
repo = "smcroute";
rev = version;
sha256 = "0mjq9cx093b0825rqbcq3z0lzy81pd8h0fz6rda6npg3604rxj81";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libcap ];
configureFlags = [
"--localstatedir=/var"
"--with-systemd=\$(out)/lib/systemd/system"
];
meta = with stdenv.lib; {
description = "Static multicast routing daemon";
homepage = http://troglobit.com/smcroute.html;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ fpletz ];
platforms = with platforms; (linux ++ freebsd ++ netbsd ++ openbsd);
};
}