nixpkgs/pkgs/by-name/ka/katriawm/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

56 lines
1.0 KiB
Nix
Raw Normal View History

2024-05-12 23:36:06 +00:00
{
lib,
stdenv,
fetchzip,
libX11,
libXft,
libXrandr,
pkg-config,
2022-12-15 23:47:11 +00:00
}:
2023-04-16 20:48:25 +00:00
stdenv.mkDerivation (finalAttrs: {
2022-12-15 23:47:11 +00:00
pname = "katriawm";
2023-09-16 23:45:53 +00:00
version = "23.08";
2022-12-15 23:47:11 +00:00
src = fetchzip {
2023-04-16 20:48:25 +00:00
url = "https://www.uninformativ.de/git/katriawm/archives/katriawm-v${finalAttrs.version}.tar.gz";
2023-09-16 23:45:53 +00:00
hash = "sha256-IWviLboZz421/Amz/QG4o8jYaG8Y/l5PvmvXfK5nzJE=";
2022-12-15 23:47:11 +00:00
};
2024-05-12 23:36:06 +00:00
nativeBuildInputs = [ pkg-config ];
2022-12-15 23:47:11 +00:00
buildInputs = [
libX11
libXft
libXrandr
];
2024-05-12 23:36:06 +00:00
outputs = [
"out"
"man"
];
2023-09-16 23:45:53 +00:00
strictDeps = true;
2022-12-15 23:47:11 +00:00
2024-05-12 23:36:06 +00:00
makeFlags = [
"-C"
"src"
];
2022-12-15 23:47:11 +00:00
installFlags = [ "prefix=$(out)" ];
postPatch = ''
substituteInPlace src/config.mk \
--replace pkg-config "$PKG_CONFIG"
'';
2023-02-12 21:08:57 +00:00
meta = {
2022-12-15 23:47:11 +00:00
homepage = "https://www.uninformativ.de/git/katriawm/file/README.html";
description = "A non-reparenting, dynamic window manager with decorations";
2023-02-12 21:08:57 +00:00
license = lib.licenses.mit;
2023-09-16 23:45:53 +00:00
mainProgram = "katriawm";
2023-02-12 21:08:57 +00:00
maintainers = [ lib.maintainers.AndersonTorres ];
2022-12-15 23:47:11 +00:00
inherit (libX11.meta) platforms;
};
})