mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #234503 from figsoda/sort
proximity-sort: 1.2.0 -> 1.3.0
This commit is contained in:
commit
28c5e15fb7
@ -1,15 +1,17 @@
|
||||
{ lib, rustPlatform, fetchCrate }:
|
||||
{ lib, rustPlatform, fetchFromGitHub }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "proximity-sort";
|
||||
version = "1.2.0";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-So3cvL2F7wfcPVPEBspMLH4f5KSbVQeUKLJve/BXLA4=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "jonhoo";
|
||||
repo = "proximity-sort";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-MRLQvspv6kjirljhAkk1KT+hPA4hdjA1b7RL9eEyglQ=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-VGxU3CD5pj0Hrt6nUbNU7eNEpNrzHp/WaFHAKPUz8DA=";
|
||||
cargoHash = "sha256-0hP6qa8d5CaqtBHCWBJ8UjtVJc6Z0GmL8DvdTWDMM8g=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple command-line utility for sorting inputs by proximity to a path argument";
|
||||
|
Loading…
Reference in New Issue
Block a user