Files
nur/pkgs/linux/swaytreesave.nix

25 lines
711 B
Nix
Raw Normal View History

{ pkgs }:
let
pname = "swaytreesave";
version = "0.4.0";
src = pkgs.fetchFromGitHub {
owner = "fabienjuif";
repo = "swaytreesave";
rev = "v${version}";
sha256 = "sha256-aAJBbauOiFERABF13hMhxyvRBzcx5c1F+vbm/U+JS8o=";
};
in pkgs.rustPlatform.buildRustPackage {
inherit pname version src;
cargoLock = { lockFile = "${src}/Cargo.lock"; };
meta = {
description = "CLI to save and load your compositors tree/layout";
mainProgram = "swaytreesave";
homepage = "https://github.com/fabienjuif/swaytreesave";
maintainers = [ "wymillerlinux" ];
platforms = [ "x86_64-linux" ];
changelog = "https://github.com/fabienjuif/swaytreesave/releases/tag/v${version}";
};
}