Files
nixpkgs/pkgs/by-name/sh/shikane/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

51 lines
1.1 KiB
Nix

{
lib,
rustPlatform,
fetchFromGitLab,
installShellFiles,
pandoc,
}:
rustPlatform.buildRustPackage rec {
pname = "shikane";
version = "1.0.1";
src = fetchFromGitLab {
owner = "w0lff";
repo = "shikane";
rev = "v${version}";
hash = "sha256-Chc1+JUHXzuLl26NuBGVxSiXiaE4Ns1FXb0dBs6STVk=";
};
cargoHash = "sha256-eVEfuX/dNFoNH9o18fIx51DP/MWrQMqInU4wtGCmUbQ=";
nativeBuildInputs = [
installShellFiles
pandoc
];
postBuild = ''
bash ./scripts/build-docs.sh man
'';
postInstall = ''
installManPage ./build/shikane.*
'';
# upstream has no tests
doCheck = false;
meta = {
description = "Dynamic output configuration tool that automatically detects and configures connected outputs based on a set of profiles";
homepage = "https://gitlab.com/w0lff/shikane";
changelog = "https://gitlab.com/w0lff/shikane/-/tags/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
michaelpachec0
natsukium
];
platforms = lib.platforms.linux;
mainProgram = "shikane";
};
}