From f877297f9339726a914603c996bb6bffbcbd526e Mon Sep 17 00:00:00 2001 From: Anderson Torres Date: Sat, 16 Sep 2023 20:45:53 -0300 Subject: [PATCH] katriawm: 23.06 -> 23.08 --- pkgs/by-name/ka/katriawm/package.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/ka/katriawm/package.nix b/pkgs/by-name/ka/katriawm/package.nix index 74bd269285c2..aef32a4d380c 100644 --- a/pkgs/by-name/ka/katriawm/package.nix +++ b/pkgs/by-name/ka/katriawm/package.nix @@ -9,14 +9,15 @@ stdenv.mkDerivation (finalAttrs: { pname = "katriawm"; - version = "23.06"; + version = "23.08"; src = fetchzip { - name = finalAttrs.pname + "-" + finalAttrs.version; url = "https://www.uninformativ.de/git/katriawm/archives/katriawm-v${finalAttrs.version}.tar.gz"; - hash = "sha256-4vdBX5biakoxiOyz7DPNgkLxlzi27kZ9rC20g+pn3N4="; + hash = "sha256-IWviLboZz421/Amz/QG4o8jYaG8Y/l5PvmvXfK5nzJE="; }; + sourceRoot = "${finalAttrs.src.name}/src"; + nativeBuildInputs = [ pkg-config ]; @@ -27,9 +28,9 @@ stdenv.mkDerivation (finalAttrs: { libXrandr ]; - preBuild = '' - cd src - ''; + outputs = [ "out" "man" ]; + + strictDeps = true; installFlags = [ "prefix=$(out)" ]; @@ -37,6 +38,7 @@ stdenv.mkDerivation (finalAttrs: { homepage = "https://www.uninformativ.de/git/katriawm/file/README.html"; description = "A non-reparenting, dynamic window manager with decorations"; license = lib.licenses.mit; + mainProgram = "katriawm"; maintainers = [ lib.maintainers.AndersonTorres ]; inherit (libX11.meta) platforms; };