2025-07-10 03:19:18 +00:00

35 lines
725 B
Nix

{
stdenv,
lib,
fetchurl,
guile,
pkg-config,
guile-fibers,
}:
stdenv.mkDerivation rec {
pname = "gnu-shepherd";
version = "1.0.6";
src = fetchurl {
url = "mirror://gnu/shepherd/shepherd-${version}.tar.gz";
hash = "sha256-/HTf2kmaaV5lD8WDnTmtU44uMjlJuJBK/Pr/o0FxvjM=";
};
configureFlags = [ "--localstatedir=/" ];
buildInputs = [
guile
guile-fibers
];
nativeBuildInputs = [ pkg-config ];
meta = with lib; {
homepage = "https://www.gnu.org/software/shepherd/";
description = "Service manager that looks after the herd of system services";
license = with licenses; [ gpl3Plus ];
platforms = platforms.unix;
maintainers = with maintainers; [ kloenk ];
};
}