summary refs log tree commit diff
path: root/pkgs/os-specific/linux/cachefilesd/default.nix
blob: 27fd8c9613ac35b69b7d31d48433fa8cf0ed6a90 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ 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 stdenv.lib; {
    description = "Local network file caching management daemon";
    homepage = "https://people.redhat.com/dhowells/fscache/";
    license = licenses.gpl2Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ abbradar ];
  };
}