Merge pull request #152982 from Kloenk/shepherd

This commit is contained in:
Ben Siraphob 2022-01-01 11:40:10 +07:00 committed by GitHub
commit f72a655920
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ stdenv, lib, fetchurl, guile, pkg-config }:
stdenv.mkDerivation rec {
pname = "gnu-shepherd";
version = "0.8.1";
src = fetchurl {
url = "https://ftp.gnu.org/gnu/shepherd/shepherd-${version}.tar.gz";
sha256 = "sha256-0y/lhpS7U1C1/HKFzwyg2cfSQiGqWWnWxGTuPjrIP3U=";
};
configureFlags = [
"--localstatedir=/"
];
buildInputs = [ guile ];
nativeBuildInputs = [ pkg-config guile ];
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 ];
};
}

View File

@ -5929,6 +5929,8 @@ with pkgs;
gnuapl = callPackage ../development/interpreters/gnu-apl { };
gnu-shepherd = callPackage ../misc/gnu-shepherd { };
dapl = callPackage ../development/interpreters/dzaima-apl {
buildNativeImage = false;
stdenv = stdenvNoCC;