File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
pkgs/by-name/sw/sway-scratch Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments