depot/third_party/nixpkgs/pkgs/misc/gnu-shepherd/default.nix
Default email 2495e3f88b Project import generated by Copybara.
GitOrigin-RevId: 78cd22c1b8604de423546cd49bfe264b786eca13
2022-01-03 17:56:52 +01:00

26 lines
700 B
Nix

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