about summary refs log tree commit diff
path: root/pkgs/misc/gnu-shepherd/default.nix
blob: e55b9d1576e75e08a1d3dfc17dd47f1c971e069d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 ];
  };
}