2021-06-01 11:30:10 +01:00
|
|
|
{ lib, fetchFromGitLab, unstableGitUpdater, rustPlatform, scdoc }:
|
2021-04-25 19:30:35 +01:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "kile-wl";
|
2021-06-01 11:30:10 +01:00
|
|
|
version = "unstable-2021-06-01";
|
2021-04-25 19:30:35 +01:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "snakedye";
|
|
|
|
repo = "kile";
|
2021-06-01 11:30:10 +01:00
|
|
|
rev = "28235f85ece148e7010c5d6ac088688100a18e04";
|
|
|
|
sha256 = "sha256-UTfYYywOwa728zLkLWQaz6wN0TM/4OzbHQGedjdHGSI=";
|
2021-04-25 19:30:35 +01:00
|
|
|
};
|
|
|
|
|
2021-06-01 11:30:10 +01:00
|
|
|
passthru.updateScript = unstableGitUpdater {
|
|
|
|
url = "https://gitlab.com/snakedye/kile.git";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoSha256 = "sha256-dzOkiZYHQu5AuwkbWEtIJAyZ1TNIGYkfz+S3q6K384w=";
|
|
|
|
|
|
|
|
nativeBuildInputs = [ scdoc ];
|
2021-04-25 19:30:35 +01:00
|
|
|
|
2021-06-01 11:30:10 +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
|
|
|
};
|
|
|
|
}
|