mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
62 lines
1.1 KiB
Nix
62 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchzip,
|
|
libX11,
|
|
libXft,
|
|
libXrandr,
|
|
pkg-config,
|
|
gitUpdater,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "katriawm";
|
|
version = "23.08";
|
|
|
|
src = fetchzip {
|
|
url = "https://www.uninformativ.de/git/katriawm/archives/katriawm-v${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-IWviLboZz421/Amz/QG4o8jYaG8Y/l5PvmvXfK5nzJE=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [
|
|
libX11
|
|
libXft
|
|
libXrandr
|
|
];
|
|
|
|
outputs = [
|
|
"out"
|
|
"man"
|
|
];
|
|
|
|
strictDeps = true;
|
|
|
|
makeFlags = [
|
|
"-C"
|
|
"src"
|
|
];
|
|
|
|
installFlags = [ "prefix=$(out)" ];
|
|
|
|
postPatch = ''
|
|
substituteInPlace src/config.mk \
|
|
--replace pkg-config "$PKG_CONFIG"
|
|
'';
|
|
|
|
passthru.updateScript = gitUpdater {
|
|
url = "https://www.uninformativ.de/git/katriawm.git/";
|
|
rev-prefix = "v";
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://www.uninformativ.de/git/katriawm/file/README.html";
|
|
description = "Non-reparenting, dynamic window manager with decorations";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "katriawm";
|
|
maintainers = [ lib.maintainers.AndersonTorres ];
|
|
inherit (libX11.meta) platforms;
|
|
};
|
|
})
|