depot/third_party/nixpkgs/pkgs/by-name/sw/sway-new-workspace/package.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

27 lines
654 B
Nix

{ lib
, fetchFromGitHub
, rustPlatform
}:
rustPlatform.buildRustPackage rec {
pname = "sway-new-workspace";
version = "0.1.5";
src = fetchFromGitHub {
owner = "nzig";
repo = pname;
rev = version;
hash = "sha256-CoSfpsaGqNNR5jdAQys3nQxshI0NXXr8MacUnSTKFNo=";
};
cargoHash = "sha256-uGjNneIfhI49gGnH/MPTzXWjBJPdnAFggZZQfovBxDM=";
meta = with lib; {
description = "Command to create new Sway workpaces";
homepage = "https://github.com/nzig/sway-new-workspace";
license = licenses.mit;
mainProgram = "sway-new-workspace";
maintainers = with maintainers; [ bbenno ];
platforms = platforms.linux;
};
}