Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ rustPlatform, lib, fetchFromGitLab }: 2 3rustPlatform.buildRustPackage rec { 4 pname = "uwc"; 5 version = "1.0.4"; 6 7 src = fetchFromGitLab { 8 owner = "dead10ck"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "1ywqq9hrrm3frvd2sswknxygjlxi195kcy7g7phwq63j7hkyrn50"; 12 }; 13 14 cargoSha256 = "04pslga3ff766cpb73n6ivzmqfa0hm19gcla8iyv6p59ddsajh3q"; 15 16 doCheck = true; 17 18 meta = with lib; { 19 description = "Like wc, but unicode-aware, and with per-line mode"; 20 homepage = "https://gitlab.com/dead10ck/uwc"; 21 license = licenses.mit; 22 maintainers = with maintainers; [ ShamrockLee ]; 23 }; 24}