nixpkgs-suyu/pkgs/tools/misc/proximity-sort/default.nix
2022-09-25 11:44:29 -04:00

20 lines
605 B
Nix

{ lib, rustPlatform, fetchCrate }:
rustPlatform.buildRustPackage rec {
pname = "proximity-sort";
version = "1.2.0";
src = fetchCrate {
inherit pname version;
sha256 = "sha256-So3cvL2F7wfcPVPEBspMLH4f5KSbVQeUKLJve/BXLA4=";
};
cargoSha256 = "sha256-VGxU3CD5pj0Hrt6nUbNU7eNEpNrzHp/WaFHAKPUz8DA=";
meta = with lib; {
description = "Simple command-line utility for sorting inputs by proximity to a path argument";
homepage = "https://github.com/jonhoo/proximity-sort";
license = with licenses; [ mit /* or */ asl20 ];
maintainers = with maintainers; [ figsoda ];
};
}