mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
23 lines
575 B
Nix
23 lines
575 B
Nix
{ lib, fetchFromGitHub, rustPlatform }:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "tuc";
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "riquito";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-+QkkwQfp818bKVo1yUkWKLMqbdzRJ+oHpjxB+UFDRsU=";
|
|
};
|
|
|
|
cargoHash = "sha256-NbqmXptLmqLd6QizRB1bIM53Rdj010Hy3JqSuLQ4H24=";
|
|
|
|
meta = with lib; {
|
|
description = "When cut doesn't cut it";
|
|
mainProgram = "tuc";
|
|
homepage = "https://github.com/riquito/tuc";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ dit7ya ];
|
|
};
|
|
}
|