3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/kile-wl/default.nix

36 lines
997 B
Nix
Raw Normal View History

{ lib, fetchFromGitLab, unstableGitUpdater, rustPlatform, scdoc }:
2021-04-25 19:30:35 +01:00
rustPlatform.buildRustPackage rec {
pname = "kile-wl";
2021-08-03 11:47:24 +01:00
version = "unstable-2021-08-03";
2021-04-25 19:30:35 +01:00
src = fetchFromGitLab {
owner = "snakedye";
repo = "kile";
2021-08-03 11:47:24 +01:00
rev = "7f0b1578352d935084d3d56ef42487d2a8cfbfe8";
sha256 = "sha256-Ir9LNQt7/7TjhCJ69HYx1tBXeq/i7F3ydmenvchZgDI=";
2021-04-25 19:30:35 +01:00
};
passthru.updateScript = unstableGitUpdater {
url = "https://gitlab.com/snakedye/kile.git";
};
2021-08-03 11:47:24 +01:00
cargoSha256 = "sha256-195rPxX3BTxJ0xLgye14aWuBd5OuJ30wyUa4wrbQ3Xo=";
nativeBuildInputs = [ scdoc ];
2021-04-25 19:30:35 +01:00
postInstall = ''
mkdir -p $out/share/man
scdoc < doc/kile.1.scd > $out/share/man/kile.1
'';
2021-04-25 19:30:35 +01:00
meta = with lib; {
description = "A tiling layout generator for river";
homepage = "https://gitlab.com/snakedye/kile";
license = licenses.mit;
platforms = platforms.linux; # It's meant for river, a wayland compositor
maintainers = with maintainers; [ fortuneteller2k ];
2021-05-07 13:08:39 +01:00
mainProgram = "kile";
2021-04-25 19:30:35 +01:00
};
}