2023-01-11 07:51:40 +00:00
|
|
|
{ stdenv, lib, fetchurl, guile, pkg-config, guile-fibers }:
|
2022-01-03 16:56:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnu-shepherd";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "0.9.3";
|
2022-01-03 16:56:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-01-11 07:51:40 +00:00
|
|
|
url = "mirror://gnu/shepherd/shepherd-${version}.tar.gz";
|
|
|
|
sha256 = "0qy2yq13xhf05an5ilz7grighdxicx56211yaarqq5qigiiybc32";
|
2022-01-03 16:56:52 +00:00
|
|
|
};
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
configureFlags = [ "--localstatedir=/" ];
|
2022-01-03 16:56:52 +00:00
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
buildInputs = [ guile guile-fibers ];
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2022-01-03 16:56:52 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|