depot/third_party/nixpkgs/pkgs/by-name/ca/cachefilesd/package.nix

30 lines
698 B
Nix

{
lib,
stdenv,
fetchurl,
}:
stdenv.mkDerivation rec {
pname = "cachefilesd";
version = "0.10.10";
src = fetchurl {
url = "https://people.redhat.com/dhowells/fscache/${pname}-${version}.tar.bz2";
sha256 = "00hsw4cdlm13wijlygp8f0aq6gxdp0skbxs9r2vh5ggs3s2hj0qd";
};
installFlags = [
"ETCDIR=$(out)/etc"
"SBINDIR=$(out)/sbin"
"MANDIR=$(out)/share/man"
];
meta = with lib; {
description = "Local network file caching management daemon";
mainProgram = "cachefilesd";
homepage = "https://people.redhat.com/dhowells/fscache/";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];
};
}