Skip to content

Commit c395785

Browse files
authored
Merge pull request #328416 from LilleAila/sway-scratch
sway-scratch: init at 0.2.1
2 parents d6da32f + 9ba89a1 commit c395785

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
lib,
3+
rustPlatform,
4+
fetchFromGitHub,
5+
nix-update-script,
6+
}:
7+
8+
rustPlatform.buildRustPackage rec {
9+
pname = "sway-scratch";
10+
version = "0.2.1";
11+
12+
src = fetchFromGitHub {
13+
owner = "aokellermann";
14+
repo = "sway-scratch";
15+
rev = "v${version}";
16+
hash = "sha256-1N/33XtkEWamgQYNDyZgSSaaGD+2HtbseEpQgrAz3CU=";
17+
};
18+
19+
cargoHash = "sha256-Z+ls6OCrDkmfxRTD+DOQhr7p183RRhXaXm8a/mWBixw=";
20+
21+
passthru.updateScript = nix-update-script { };
22+
23+
meta = with lib; {
24+
description = "Automatically starting named scratchpads for sway";
25+
homepage = "https://github.com/aokellermann/sway-scratch";
26+
license = licenses.mit;
27+
maintainers = with maintainers; [ LilleAila ];
28+
mainProgram = "sway-scratch";
29+
platforms = lib.platforms.linux;
30+
};
31+
}

0 commit comments

Comments
 (0)