mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-05 19:53:43 +00:00
32 lines
763 B
Nix
32 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;
|
||
|
};
|
||
|
}
|