Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
31 lines
763 B
Nix
31 lines
763 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "sway-scratch";
|
|
version = "0.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "aokellermann";
|
|
repo = "sway-scratch";
|
|
rev = "v${version}";
|
|
hash = "sha256-1N/33XtkEWamgQYNDyZgSSaaGD+2HtbseEpQgrAz3CU=";
|
|
};
|
|
|
|
cargoHash = "sha256-Z+ls6OCrDkmfxRTD+DOQhr7p183RRhXaXm8a/mWBixw=";
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = with lib; {
|
|
description = "Automatically starting named scratchpads for sway";
|
|
homepage = "https://github.com/aokellermann/sway-scratch";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ LilleAila ];
|
|
mainProgram = "sway-scratch";
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|