tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
shikane: init at 0.2.0
natsukium
2 years ago
21763334
635a306f
+47
2 changed files
expand all
collapse all
unified
split
pkgs
tools
wayland
shikane
default.nix
top-level
all-packages.nix
+45
pkgs/tools/wayland/shikane/default.nix
···
1
1
+
{ lib
2
2
+
, rustPlatform
3
3
+
, fetchFromGitLab
4
4
+
, installShellFiles
5
5
+
, pandoc
6
6
+
}:
7
7
+
8
8
+
rustPlatform.buildRustPackage rec {
9
9
+
pname = "shikane";
10
10
+
version = "0.2.0";
11
11
+
12
12
+
src = fetchFromGitLab {
13
13
+
owner = "w0lff";
14
14
+
repo = "shikane";
15
15
+
rev = "v${version}";
16
16
+
hash = "sha256-S55elFZQT234fKlISFi21QJtnf2yB0O2u2vSNFhzgBg=";
17
17
+
};
18
18
+
19
19
+
cargoHash = "sha256-4wisXVaZa2GBFKywl48beQgg4c+lawL3L/837ZU1Y94=";
20
20
+
21
21
+
nativeBuildInputs = [
22
22
+
installShellFiles
23
23
+
pandoc
24
24
+
];
25
25
+
26
26
+
postBuild = ''
27
27
+
bash ./scripts/build-docs.sh man
28
28
+
'';
29
29
+
30
30
+
postInstall = ''
31
31
+
installManPage ./build/shikane.*
32
32
+
'';
33
33
+
34
34
+
# upstream has no tests
35
35
+
doCheck = false;
36
36
+
37
37
+
meta = with lib; {
38
38
+
description = "A dynamic output configuration tool that automatically detects and configures connected outputs based on a set of profiles";
39
39
+
homepage = "https://gitlab.com/w0lff/shikane";
40
40
+
changelog = "https://gitlab.com/w0lff/shikane/-/tags/v${version}";
41
41
+
license = licenses.mit;
42
42
+
maintainers = with maintainers; [ michaelpachec0 natsukium ];
43
43
+
platforms = platforms.linux;
44
44
+
};
45
45
+
}
+2
pkgs/top-level/all-packages.nix
···
4279
4279
4280
4280
oguri = callPackage ../tools/wayland/oguri { };
4281
4281
4282
4282
+
shikane = callPackage ../tools/wayland/shikane { };
4283
4283
+
4282
4284
shotman = callPackage ../tools/wayland/shotman { };
4283
4285
4284
4286
slurp = callPackage ../tools/wayland/slurp { };