this repo has no description
at main 622 B view raw
1{ lib, rustPlatform }: 2let 3 toml = (lib.importTOML ./Cargo.toml).package; 4in 5rustPlatform.buildRustPackage { 6 pname = "lix-diff"; 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; [ isabelroses ]; 26 mainProgram = "lix-diff"; 27 }; 28}