nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

ting: init at 0.1.0 (#430130)

authored by

Yohann Boniface and committed by
GitHub
2ef38cf9 59d0e129

+38
+38
pkgs/by-name/ti/ting/package.nix
··· 1 + { 2 + lib, 3 + rustPlatform, 4 + fetchFromGitHub, 5 + pkg-config, 6 + alsa-lib, 7 + nix-update-script, 8 + }: 9 + 10 + rustPlatform.buildRustPackage (finalAttrs: { 11 + pname = "ting"; 12 + version = "0.1.0"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "dhth"; 16 + repo = "ting"; 17 + tag = "v${finalAttrs.version}"; 18 + hash = "sha256-k6TJ9/YtsjNNYPj8YUGCfaQaVwXHoUQG4muOvrkN34A="; 19 + }; 20 + 21 + cargoHash = "sha256-yDSOXvRRBIDYhggj1SwAHxI3jv+xAs2LTUmUqPxCk00="; 22 + 23 + nativeBuildInputs = [ pkg-config ]; 24 + 25 + buildInputs = [ alsa-lib ]; 26 + 27 + passthru.updateScript = nix-update-script { }; 28 + 29 + meta = { 30 + description = "Audio feedback on the command line"; 31 + homepage = "https://github.com/dhth/ting"; 32 + changelog = "https://github.com/dhth/ting/releases/tag/${finalAttrs.src.tag}"; 33 + license = lib.licenses.mit; 34 + maintainers = with lib.maintainers; [ yiyu ]; 35 + mainProgram = "ting"; 36 + platforms = lib.platforms.linux; 37 + }; 38 + })