depot/third_party/nixpkgs/pkgs/applications/window-managers/katriawm/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

43 lines
877 B
Nix

{ lib
, stdenv
, fetchzip
, libX11
, libXft
, libXrandr
, pkg-config
}:
stdenv.mkDerivation (finalAttrs: {
pname = "katriawm";
version = "23.04";
src = fetchzip {
name = finalAttrs.pname + "-" + finalAttrs.version;
url = "https://www.uninformativ.de/git/katriawm/archives/katriawm-v${finalAttrs.version}.tar.gz";
hash = "sha256-Wi9Fv/Ms6t7tr8nxznXrn/6V04lnO1HMz4XFbuCr9+Y=";
};
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;
};
})