diff --git a/pkgs/by-name/ri/rift-wm/package.nix b/pkgs/by-name/ri/rift-wm/package.nix new file mode 100644 index 000000000000..981b86abaa4b --- /dev/null +++ b/pkgs/by-name/ri/rift-wm/package.nix @@ -0,0 +1,35 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + apple-sdk, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "rift-wm"; + version = "0.4.3"; + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "acsandmann"; + repo = "rift"; + tag = "v${finalAttrs.version}"; + hash = "sha256-oOVNq4/hdiRcCbc9kaMxynnq2gXVezviQRTvjrdkfPs="; + }; + + nativeBuildInputs = [ + apple-sdk + ]; + + cargoHash = "sha256-eb3Z5NIUusJApQWa6sDMRP//Y0BOToQsEIhQqqR728o="; + + meta = { + description = "Tiling window manager for macos"; + homepage = "https://github.com/acsandmann/rift"; + changelog = "https://github.com/acsandmann/rift/releases/tag/${finalAttrs.src.tag}"; + license = lib.licenses.asl20; + maintainers = with lib.maintainers; [ eveeifyeve ]; + mainProgram = "rift"; + platforms = lib.platforms.darwin; + }; +})