1 { lib, buildNimPackage, fetchFromGitHub, nixosTests, testers }:
3 buildNimPackage (finalAttrs: {
8 src = fetchFromGitHub {
9 owner = "avahe-kellenberger";
11 rev = "v${finalAttrs.version}";
12 hash = "sha256-9gYlVuKDHCs6yaY1b6dJgwQUJdko6npjom4ab7nKZ7w=";
15 lockFile = ./lock.json;
22 install -D config.default.toml $out/share/nimdow/config.default.toml
23 install -D nimdow.desktop $out/share/applications/nimdow.desktop
27 substituteInPlace src/nimdowpkg/config/configloader.nim --replace "/usr/share/nimdow" "$out/share/nimdow"
31 nimdow = nixosTests.nimdow;
32 version = testers.testVersion {
33 package = finalAttrs.finalPackage;
34 version = "v${finalAttrs.version}";
39 finalAttrs.src.meta // {
40 description = "Nim based tiling window manager";
41 platforms = platforms.linux;
42 license = [ licenses.gpl2 ];
43 maintainers = [ maintainers.marcusramberg ];
44 mainProgram = "nimdow";