link redirection service
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at mistress 28 lines 606 B view raw
1{ lib, rustPlatform }: 2let 3 toml = (lib.importTOML ./Cargo.toml).package; 4in 5rustPlatform.buildRustPackage { 6 pname = "syl-go"; 7 inherit (toml) version; 8 9 src = lib.fileset.toSource { 10 root = ./.; 11 fileset = lib.fileset.intersection (lib.fileset.fromSource (lib.sources.cleanSource ./.)) ( 12 lib.fileset.unions [ 13 ./Cargo.toml 14 ./Cargo.lock 15 ./src 16 ] 17 ); 18 }; 19 20 cargoLock.lockFile = ./Cargo.lock; 21 22 meta = { 23 inherit (toml) homepage description; 24 license = lib.licenses.mit; 25 maintainers = with lib.maintainers; [ ]; 26 mainProgram = "syl-go"; 27 }; 28}