nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "river-bsp-layout";
9 version = "2.1.1";
10
11 src = fetchFromGitHub {
12 owner = "areif-dev";
13 repo = "river-bsp-layout";
14 rev = "v${version}";
15 hash = "sha256-/R9v3NGsSG4JJtdk0sJX7ahRolRmJMwMP48JRmLffXc=";
16 };
17
18 cargoHash = "sha256-kfeRGT/qgZRPfXl03JYRF1CVPIIiGPIdxLORiA6QWu4=";
19
20 meta = {
21 homepage = "https://github.com/areif-dev/river-bsp-layout";
22 description = "Binary space partition / grid layout manager for River WM";
23 license = lib.licenses.gpl3Only;
24 maintainers = with lib.maintainers; [ areif-dev ];
25 mainProgram = "river-bsp-layout";
26 platforms = lib.platforms.linux;
27 };
28}