nixpkgs/pkgs/os-specific/linux/cachefilesd/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

25 lines
658 B
Nix

{ 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 ];
};
}