2021-06-01 10:30:10 +00:00
|
|
|
{ lib, fetchFromGitLab, unstableGitUpdater, rustPlatform, scdoc }:
|
2021-04-25 18:30:35 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "kile-wl";
|
2021-10-02 15:55:53 +00:00
|
|
|
version = "unstable-2021-09-30";
|
2021-04-25 18:30:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "snakedye";
|
|
|
|
repo = "kile";
|
2021-10-02 15:55:53 +00:00
|
|
|
rev = "b543d435b92498b72609a05048bc368837a7b455";
|
|
|
|
sha256 = "sha256-+SjdhSRT6TGbwvgZti8t9wYJx8LEtY3pleDZx/AEkio=";
|
2021-04-25 18:30:35 +00:00
|
|
|
};
|
|
|
|
|
2021-06-01 10:30:10 +00:00
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
|
|
url = "https://gitlab.com/snakedye/kile.git";
|
|
|
|
};
|
|
|
|
|
2021-10-02 15:55:53 +00:00
|
|
|
cargoSha256 = "sha256-W7rq42Pz+l4TSsR/h2teRTbl3A1zjOcIx6wqgnwyQNA=";
|
2021-06-01 10:30:10 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ scdoc ];
|
2021-04-25 18:30:35 +00:00
|
|
|
|
2021-06-01 10:30:10 +00:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/share/man
|
|
|
|
scdoc < doc/kile.1.scd > $out/share/man/kile.1
|
|
|
|
'';
|
2021-04-25 18:30:35 +00: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 12:08:39 +00:00
|
|
|
mainProgram = "kile";
|
2021-04-25 18:30:35 +00:00
|
|
|
};
|
|
|
|
}
|