mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +00:00
26 lines
612 B
Nix
26 lines
612 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "choose";
|
|
version = "1.3.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "theryangeary";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-yW1quDyQn2xhrlhhPj9DKq7g8LlYKvEKDFj3xSagRTU=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-0INC0LFzlnFnt5pCiU4xePxU8a6GiU1L8bg7zcuFl2k=";
|
|
|
|
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 ];
|
|
};
|
|
}
|