summaryrefslogtreecommitdiffstats
path: root/maintainers/scripts/convert-to-import-cargo-lock/default.nix
blob: 261cad34149ff90c4ce425d15cabd459352c38ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
with import ../../../. { };

rustPlatform.buildRustPackage {
  name = "convert-to-import-cargo-lock";

  src = lib.cleanSourceWith {
    src = ./.;
    filter =
      name: type:
      let
        name' = baseNameOf name;
      in
      name' != "default.nix" && name' != "target";
  };

  cargoLock.lockFile = ./Cargo.lock;
}