shikane: init at 0.2.0
This commit is contained in:
parent
635a306fc8
commit
217633348b
2 changed files with 47 additions and 0 deletions
45
pkgs/tools/wayland/shikane/default.nix
Normal file
45
pkgs/tools/wayland/shikane/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitLab
|
||||
, installShellFiles
|
||||
, pandoc
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "shikane";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "w0lff";
|
||||
repo = "shikane";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-S55elFZQT234fKlISFi21QJtnf2yB0O2u2vSNFhzgBg=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-4wisXVaZa2GBFKywl48beQgg4c+lawL3L/837ZU1Y94=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
pandoc
|
||||
];
|
||||
|
||||
postBuild = ''
|
||||
bash ./scripts/build-docs.sh man
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
installManPage ./build/shikane.*
|
||||
'';
|
||||
|
||||
# upstream has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A 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 = licenses.mit;
|
||||
maintainers = with maintainers; [ michaelpachec0 natsukium ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -4279,6 +4279,8 @@ with pkgs;
|
|||
|
||||
oguri = callPackage ../tools/wayland/oguri { };
|
||||
|
||||
shikane = callPackage ../tools/wayland/shikane { };
|
||||
|
||||
shotman = callPackage ../tools/wayland/shotman { };
|
||||
|
||||
slurp = callPackage ../tools/wayland/slurp { };
|
||||
|
|
Loading…
Reference in a new issue