nixpkgs/pkgs/applications/misc/kile-wl/default.nix
Pablo Ovelleiro Corral e47929ba76
kile-wl: kile-wl 2021-09-30 -> 2.0
Versioning schema seems to have changed, this updates to 2.0 as indicated by @dithpri

Fixes #248408
2023-08-23 12:59:49 +02:00

36 lines
981 B
Nix

{ lib, fetchFromGitLab, unstableGitUpdater, rustPlatform, scdoc }:
rustPlatform.buildRustPackage rec {
pname = "kile-wl";
version = "2.0";
src = fetchFromGitLab {
owner = "snakedye";
repo = "kile";
rev = "b543d435b92498b72609a05048bc368837a7b455";
sha256 = "sha256-+SjdhSRT6TGbwvgZti8t9wYJx8LEtY3pleDZx/AEkio=";
};
passthru.updateScript = unstableGitUpdater {
url = "https://gitlab.com/snakedye/kile.git";
};
cargoSha256 = "sha256-xXliFNm9YDGsAATpMATui7f2IcfKCrB0B7O5dSYuBVQ=";
nativeBuildInputs = [ scdoc ];
postInstall = ''
mkdir -p $out/share/man
scdoc < doc/kile.1.scd > $out/share/man/kile.1
'';
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 ];
mainProgram = "kile";
};
}