5557ff764c
GitOrigin-RevId: 988cc958c57ce4350ec248d2d53087777f9e1949
43 lines
853 B
Nix
43 lines
853 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchzip
|
|
, libX11
|
|
, libXft
|
|
, libXrandr
|
|
, pkg-config
|
|
}:
|
|
|
|
stdenv.mkDerivation (self: {
|
|
pname = "katriawm";
|
|
version = "22.12";
|
|
|
|
src = fetchzip {
|
|
name = self.pname + "-" + self.version;
|
|
url = "https://www.uninformativ.de/git/katriawm/archives/katriawm-v${self.version}.tar.gz";
|
|
hash = "sha256-xFKr4PxqvnQEAWplhRsaL5rhmSJpnImpk1eXFX0N1tc=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
libX11
|
|
libXft
|
|
libXrandr
|
|
];
|
|
|
|
preBuild = ''
|
|
cd src
|
|
'';
|
|
|
|
installFlags = [ "prefix=$(out)" ];
|
|
|
|
meta = {
|
|
homepage = "https://www.uninformativ.de/git/katriawm/file/README.html";
|
|
description = "A non-reparenting, dynamic window manager with decorations";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.AndersonTorres ];
|
|
inherit (libX11.meta) platforms;
|
|
};
|
|
})
|