mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
34 lines
860 B
Nix
34 lines
860 B
Nix
{
|
|
lib,
|
|
versionCheckHook,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
}:
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "swaytreesave";
|
|
version = "0.4.2";
|
|
|
|
__structuredAttrs = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fabienjuif";
|
|
repo = "swaytreesave";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-CEhtO7gjuuQ58kWsQKJTDqSqqw2lF7EUsO/i8d0NIiU=";
|
|
};
|
|
|
|
cargoHash = "sha256-gbcVgdGvKxQioL6aQcMoajsJo2rTPDNqEhsywFPCQ0s=";
|
|
|
|
meta = {
|
|
description = "CLI to save and load your compositors tree/layout";
|
|
homepage = "https://github.com/fabienjuif/swaytreesave";
|
|
changelog = "https://github.com/fabienjuif/swaytreesave/releases/tag/v${finalAttrs.version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
uzlkav
|
|
];
|
|
mainProgram = "swaytreesave";
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|