uwc: 1.0.5 -> 1.0.7 and fetch from GitHub
This commit is contained in:
@@ -1,24 +1,24 @@
|
||||
{ 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;
|
||||
|
||||
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 ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user