nixpkgs/pkgs/tools/misc/proximity-sort/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
605 B
Nix
Raw Normal View History

2022-09-25 15:44:08 +00:00
{ 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 ];
};
}