nixpkgs/pkgs/os-specific/linux/cachefilesd/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

27 lines
691 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 ];
};
}