Merge pull request #178727 from layus/init/chkservice

chkservice: init at 0.3

authored by Guillaume Maudoux and committed by GitHub f2a54d2d f68dc868

+41
+37
pkgs/tools/admin/chkservice/default.nix
···
··· 1 + { stdenv, fetchFromGitHub, cmake, ninja, pkg-config, systemd, ncurses, lib }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "chkservice"; 5 + version = "0.3"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "linuxenko"; 9 + repo = "chkservice"; 10 + rev = version; 11 + hash = "sha256:0dfvm62h6dwg18f17fn58nr09mfh6kylm8wy88j00fiy13l4wnb6"; 12 + }; 13 + 14 + # Tools needed during build time 15 + nativeBuildInputs = [ 16 + cmake 17 + # Makes the build faster, adds less than half a megabyte to the build 18 + # dependencies 19 + ninja 20 + pkg-config 21 + ]; 22 + 23 + buildInputs = [ 24 + systemd 25 + ncurses 26 + ]; 27 + 28 + hardeningDisable = [ "format" ]; 29 + 30 + meta = { 31 + description = "chkservice is a tool for managing systemd units in terminal."; 32 + platforms = lib.platforms.all; 33 + maintainers = with lib.maintainers; [ infinisil ]; 34 + license = lib.licenses.gpl3Plus; 35 + homepage = "https://github.com/linuxenko/chkservice"; 36 + }; 37 + }
+4
pkgs/top-level/all-packages.nix
··· 207 } 208 ''); 209 210 addOpenGLRunpath = callPackage ../build-support/add-opengl-runpath { }; 211 212 quickemu = callPackage ../development/quickemu { };
··· 207 } 208 ''); 209 210 + chkservice = callPackage ../tools/admin/chkservice { 211 + stdenv = gcc10StdenvCompat; 212 + }; 213 + 214 addOpenGLRunpath = callPackage ../build-support/add-opengl-runpath { }; 215 216 quickemu = callPackage ../development/quickemu { };