cpc: init at 3.0.0

+29
+29
pkgs/by-name/cp/cpc/package.nix
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + rustPlatform, 5 + }: 6 + 7 + rustPlatform.buildRustPackage rec { 8 + pname = "cpc"; 9 + version = "3.0.0"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "probablykasper"; 13 + repo = "cpc"; 14 + tag = "v${version}"; 15 + hash = "sha256-DjJIXV5rJxQOiMH8/0yZQBvDh+jbejzADt4WSGyhozI="; 16 + }; 17 + 18 + cargoHash = "sha256-2k+aFrP/PQmlGr3gIF1queDjuo/+3KtnrOrx1+wrqEg="; 19 + 20 + meta = { 21 + mainProgram = "cpc"; 22 + description = "Text calculator with support for units and conversion"; 23 + homepage = "https://github.com/probablykasper/cpc"; 24 + license = lib.licenses.mit; 25 + maintainers = with lib.maintainers; [ 26 + s0me1newithhand7s 27 + ]; 28 + }; 29 + }