at 23.05-pre 26 lines 700 B view raw
1{ stdenv, lib, fetchurl, guile, pkg-config }: 2 3stdenv.mkDerivation rec { 4 pname = "gnu-shepherd"; 5 version = "0.8.1"; 6 7 src = fetchurl { 8 url = "https://ftp.gnu.org/gnu/shepherd/shepherd-${version}.tar.gz"; 9 sha256 = "sha256-0y/lhpS7U1C1/HKFzwyg2cfSQiGqWWnWxGTuPjrIP3U="; 10 }; 11 12 configureFlags = [ 13 "--localstatedir=/" 14 ]; 15 16 buildInputs = [ guile ]; 17 nativeBuildInputs = [ pkg-config guile ]; 18 19 meta = with lib; { 20 homepage = "https://www.gnu.org/software/shepherd/"; 21 description = "Service manager that looks after the herd of system services"; 22 license = with licenses; [ gpl3Plus ]; 23 platforms = platforms.unix; 24 maintainers = with maintainers; [ kloenk ]; 25 }; 26}