nixpkgs/pkgs/applications/window-managers/katriawm/default.nix

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

44 lines
877 B
Nix
Raw Normal View History

2022-12-15 23:47:11 +00:00
{ lib
, stdenv
, fetchzip
, libX11
, libXft
, libXrandr
, pkg-config
}:
2023-04-16 20:48:25 +00:00
stdenv.mkDerivation (finalAttrs: {
2022-12-15 23:47:11 +00:00
pname = "katriawm";
2023-02-12 21:08:57 +00:00
version = "22.12";
2022-12-15 23:47:11 +00:00
src = fetchzip {
2023-04-16 20:48:25 +00:00
name = finalAttrs.pname + "-" + finalAttrs.version;
url = "https://www.uninformativ.de/git/katriawm/archives/katriawm-v${finalAttrs.version}.tar.gz";
2023-02-12 21:08:57 +00:00
hash = "sha256-xFKr4PxqvnQEAWplhRsaL5rhmSJpnImpk1eXFX0N1tc=";
2022-12-15 23:47:11 +00:00
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
libX11
libXft
libXrandr
];
preBuild = ''
cd src
'';
installFlags = [ "prefix=$(out)" ];
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;
maintainers = [ lib.maintainers.AndersonTorres ];
2022-12-15 23:47:11 +00:00
inherit (libX11.meta) platforms;
};
})