package.nix (846B)
1 { 2 lib, 3 stdenv, 4 buildNimPackage, 5 fetchFromGitHub, 6 pkg-config, 7 xorg, 8 }: 9 10 buildNimPackage rec { 11 pname = "worm"; 12 version = "0.3.3"; 13 14 src = fetchFromGitHub { 15 owner = "codic12"; 16 repo = "worm"; 17 tag = "v${version}"; 18 hash = "sha256-DnmFDFVjya24e3PcIOa0nAeKfbfCgQ73sKaNGe4zErg="; 19 }; 20 21 lockFile = ./lock.json; 22 23 nativeBuildInputs = [ pkg-config ]; 24 25 buildInputs = with xorg; [ 26 libX11 27 libXft 28 libXinerama 29 ]; 30 31 postInstall = '' 32 install -Dm644 assets/worm.desktop -t $out/share/applications 33 ''; 34 35 meta = { 36 description = "A dynamic, tag-based window manager written in Nim"; 37 homepage = "https://github.com/codic12/worm"; 38 license = lib.licenses.mit; 39 platforms = lib.platforms.linux; 40 maintainers = [ lib.maintainers.sikmir ]; 41 skip.ci = stdenv.isDarwin; 42 broken = true; 43 }; 44 }