| 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 | } |