8 stdenv.mkDerivation (finalAttrs: {
12 src = fetchFromGitHub {
15 rev = "v${finalAttrs.version}";
16 hash = "sha256-/t1clnxBNU5lfTjtUbt5eOl5KPeAfG8Hq6jBVMqkkWY=";
19 nativeBuildInputs = [ installShellFiles ];
24 $CC catnest.c -o catnest -std=gnu99
32 install -Dm755 catnest -t $out/bin
33 installManPage catnest.1
39 description = "Small, single-file and POSIX-compatible substituion for systemd-sysusers";
40 homepage = "https://github.com/eweOS/catnest";
41 license = lib.licenses.mit;
42 mainProgram = "catnest";
43 maintainers = with lib.maintainers; [ aleksana ];
44 platforms = lib.platforms.unix;