Unverified Commit 51ab9a6b authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

uwc: 1.0.5 -> 1.0.7, fetch from GitHub, disable tests (#345069)

parents fc5d7965 935b9608
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
{ rustPlatform, lib, fetchFromGitLab }:
{ rustPlatform, lib, fetchFromGitHub }:

rustPlatform.buildRustPackage rec {
  pname = "uwc";
  version = "1.0.5";
  version = "1.0.7";

  src = fetchFromGitLab {
  src = fetchFromGitHub {
    owner = "dead10ck";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-x2mijB1GkxdraFroG1+PiBzWKPjsaAeoDt0HFL2v93I=";
    repo = "uwc";
    rev = "refs/tags/v${version}";
    hash = "sha256-Qv8vMjCMhpVxkJyH1uTsFXu2waO8oaLPuoBETaWOUqI=";
  };

  cargoHash = "sha256-0IvOaQaXfdEz5tlXh5gTbnZG9QZSWDVHGOqYq8aWOIc=";
  cargoHash = "sha256-20brxqYAvgBxbOQ7KOFviXxmFrSHDXNV/0lcks7x3a8=";

  doCheck = true;
  doCheck = false;

  meta = with lib; {
    description = "Like wc, but unicode-aware, and with per-line mode";
    mainProgram = "uwc";
    homepage = "https://gitlab.com/dead10ck/uwc";
    homepage = "https://github.com/dead10ck/uwc";
    license = licenses.mit;
    maintainers = with maintainers; [ ShamrockLee ];
  };