this repo has no description
1{ 2 lib, 3 rustPlatform, 4 pkg-config, 5 openssl, 6}: let 7 toml = (lib.importTOML ./Cargo.toml).package; 8in rustPlatform.buildRustPackage { 9 pname = "tranquil-pds"; 10 inherit (toml) version; 11 12 src = lib.fileset.toSource { 13 root = ./.; 14 fileset = lib.fileset.intersection (lib.fileset.fromSource (lib.sources.cleanSource ./.)) ( 15 lib.fileset.unions [ 16 ./Cargo.toml 17 ./Cargo.lock 18 ./src 19 ./.sqlx 20 ./migrations 21 ./frontend 22 ] 23 ); 24 }; 25 26 nativeBuildInputs = [ 27 pkg-config 28 ]; 29 30 buildInputs = [ 31 openssl 32 ]; 33 34 cargoLock.lockFile = ./Cargo.lock; 35 36 doCheck = false; 37 38 meta = { 39 license = lib.licenses.agpl3Plus; 40 }; 41}