telegraf: 1.27.0 -> 1.27.1
[NixPkgs.git] / maintainers / scripts / convert-to-import-cargo-lock / default.nix
blobf4c1f553d64f9f7cebe68d6afbcb76287e39423e
1 with import ../../../. { };
3 rustPlatform.buildRustPackage {
4   name = "convert-to-import-cargo-lock";
6   src = lib.cleanSourceWith {
7     src = ./.;
8     filter = name: type:
9       let
10         name' = builtins.baseNameOf name;
11       in
12       name' != "default.nix" && name' != "target";
13   };
15   cargoLock.lockFile = ./Cargo.lock;