1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

chkservice: init at 0.3

This commit is contained in:
Guillaume @layus Maudoux 2022-06-23 13:08:23 +00:00
parent 85b1871e4e
commit 83f0ce0104
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ stdenv, fetchFromGitHub, cmake, ninja, pkg-config, systemd, ncurses, lib }:
stdenv.mkDerivation rec {
pname = "chkservice";
version = "0.3";
src = fetchFromGitHub {
owner = "linuxenko";
repo = "chkservice";
rev = version;
hash = "sha256:0dfvm62h6dwg18f17fn58nr09mfh6kylm8wy88j00fiy13l4wnb6";
};
# Tools needed during build time
nativeBuildInputs = [
cmake
# Makes the build faster, adds less than half a megabyte to the build
# dependencies
ninja
pkg-config
];
buildInputs = [
systemd
ncurses
];
hardeningDisable = [ "format" ];
meta = {
description = "chkservice is a tool for managing systemd units in terminal.";
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ infinisil ];
license = lib.licenses.gpl3Plus;
homepage = "https://github.com/linuxenko/chkservice";
};
}

View file

@ -207,6 +207,10 @@ with pkgs;
}
'');
chkservice = callPackage ../tools/admin/chkservice {
stdenv = gcc10StdenvCompat;
};
addOpenGLRunpath = callPackage ../build-support/add-opengl-runpath { };
quickemu = callPackage ../development/quickemu { };