mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +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.
26 lines
626 B
Nix
26 lines
626 B
Nix
{ rustPlatform, lib, fetchFromGitLab }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "uwc";
|
|
version = "1.0.5";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "dead10ck";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-x2mijB1GkxdraFroG1+PiBzWKPjsaAeoDt0HFL2v93I=";
|
|
};
|
|
|
|
cargoHash = "sha256-0IvOaQaXfdEz5tlXh5gTbnZG9QZSWDVHGOqYq8aWOIc=";
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
description = "Like wc, but unicode-aware, and with per-line mode";
|
|
mainProgram = "uwc";
|
|
homepage = "https://gitlab.com/dead10ck/uwc";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ShamrockLee ];
|
|
};
|
|
}
|