1
0
Fork 0
nix-overlay/packages/proximity-sort.nix

23 lines
638 B
Nix
Raw Normal View History

2022-01-06 21:48:53 +00:00
{ system, lib, pkgs }:
pkgs.rustPlatform.buildRustPackage rec {
pname = "proximity-sort";
version = "1.0.7";
src = pkgs.fetchFromGitHub {
owner = "jonhoo";
repo = pname;
rev = "v${version}";
sha256 = "ZDG45GETZfkCo6OO5DaN10EviaOf18k71Kw6Ni8ygDQ=";
};
cargoSha256 = "sha256-/FF5CtUdf5uSu9AR9OPRXisYs6PRTwKwGWssxzVpb4g=";
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 = [ licenses.asl20 licenses.mit ];
platforms = [ "x86_64-darwin" "aarch64-darwin" ];
};
}