atagen

roundabout

public
Star0
Watch0
fdad58f8133a77a20c44d0e1472cb73a5128ef2c
1
ssh://brewery@pls.lobotomise.me:33/atagen/roundabout.git
nix/package.nixNix25 lines541 B
1
{ lib, rustPlatform }:
2
3
rustPlatform.buildRustPackage {
4
  pname = "roundabout";
5
  version = (lib.importTOML ../Cargo.toml).package.version;
6
7
  src = lib.fileset.toSource {
8
    root = ../.;
9
    fileset = lib.fileset.unions [
10
      ../Cargo.toml
11
      ../Cargo.lock
12
      ../src
13
      ../tests/systemd.rs
14
    ];
15
  };
16
17
  cargoLock.lockFile = ../Cargo.lock;
18
19
  meta = {
20
    description = "build admission for agents that can't share";
21
    mainProgram = "roundabout";
22
    license = lib.licenses.eupl12;
23
    platforms = lib.platforms.unix;
24
  };
25
}