12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
20 hash = "sha256-ZllO6Ag+OgAkQp6jSv000NUEskXFuhMcCo83A4Wp2zU=";
24 # Pull fix pending upstream inclusion for gcc-11 support:
25 # https://github.com/linuxenko/chkservice/pull/38
27 name = "gcc-11.patch";
28 url = "https://github.com/linuxenko/chkservice/commit/26b12a7918c8a3bc449c92b458e6cd5c2d7b2e05.patch";
29 hash = "sha256-LaJLlqRyn1eoahbW2X+hDSt8iV4lhNRn0j0kLHB+RhM=";
33 # Tools needed during build time
36 # Makes the build faster, adds less than half a megabyte to the build
47 hardeningDisable = [ "format" ];
50 description = "chkservice is a tool for managing systemd units in terminal.";
51 platforms = lib.platforms.all;
52 maintainers = with lib.maintainers; [ infinisil ];
53 license = lib.licenses.gpl3Plus;
54 homepage = "https://github.com/linuxenko/chkservice";