php.packages.box: switch to buildComposerProject2, tag and add versionCheckHook ...
[NixPkgs.git] / pkgs / by-name / uw / uwc / package.nix
blobfea7e9cd0107ac87f03a6ac0ae6859da6ec5b72b
2   rustPlatform,
3   lib,
4   fetchFromGitHub,
5 }:
7 rustPlatform.buildRustPackage rec {
8   pname = "uwc";
9   version = "1.0.7";
11   src = fetchFromGitHub {
12     owner = "dead10ck";
13     repo = "uwc";
14     tag = "v${version}";
15     hash = "sha256-Qv8vMjCMhpVxkJyH1uTsFXu2waO8oaLPuoBETaWOUqI=";
16   };
18   cargoHash = "sha256-20brxqYAvgBxbOQ7KOFviXxmFrSHDXNV/0lcks7x3a8=";
20   doCheck = false;
22   meta = with lib; {
23     description = "Like wc, but unicode-aware, and with per-line mode";
24     mainProgram = "uwc";
25     homepage = "https://github.com/dead10ck/uwc";
26     license = licenses.mit;
27     maintainers = with maintainers; [ ShamrockLee ];
28   };