mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
26 lines
612 B
Nix
26 lines
612 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "choose";
|
|
version = "1.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "theryangeary";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-HYwlAgFKbi6or2eblERdMMjJOJdtt2FCQECUg3MzO8E=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-55/B+LxdbekfaKKyng0lUCU3QnqL34M+QnLUxaPqkqI=";
|
|
|
|
meta = with lib; {
|
|
description = "A human-friendly and fast alternative to cut and (sometimes) awk";
|
|
homepage = "https://github.com/theryangeary/choose";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ sohalt ];
|
|
};
|
|
}
|