Loading pkgs/tools/audio/catnip/default.nix 0 → 100644 +50 −0 Original line number Diff line number Diff line { lib , buildGoModule , fetchFromGitHub , pkg-config , portaudio , testers , catnip }: buildGoModule rec { pname = "catnip"; version = "1.8.0"; src = fetchFromGitHub { owner = "noriah"; repo = "catnip"; rev = "v${version}"; hash = "sha256-eVEoQrI8NycEV/dPUNFqkzgjOYaGmH1+lLRRkOybXDU="; }; vendorHash = "sha256-Hj453+5fhbUL6YMeupT5D6ydaEMe+ZQNgEYHtCUtTx4="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ portaudio ]; ldflags = [ "-s" "-w" "-X=main.version=${version}" ]; passthru.tests = { version = testers.testVersion { package = catnip; }; }; meta = with lib; { description = "Terminal audio visualizer for linux/unix/macOS/windows"; homepage = "https://github.com/noriah/catnip"; changelog = "https://github.com/noriah/catnip/releases/tag/${src.rev}"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; }; } pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -18042,6 +18042,8 @@ with pkgs; cadre = callPackage ../development/tools/cadre { }; catnip = callPackage ../tools/audio/catnip { }; cbrowser = callPackage ../development/tools/misc/cbrowser { }; cc-tool = callPackage ../development/embedded/cc-tool { }; Loading
pkgs/tools/audio/catnip/default.nix 0 → 100644 +50 −0 Original line number Diff line number Diff line { lib , buildGoModule , fetchFromGitHub , pkg-config , portaudio , testers , catnip }: buildGoModule rec { pname = "catnip"; version = "1.8.0"; src = fetchFromGitHub { owner = "noriah"; repo = "catnip"; rev = "v${version}"; hash = "sha256-eVEoQrI8NycEV/dPUNFqkzgjOYaGmH1+lLRRkOybXDU="; }; vendorHash = "sha256-Hj453+5fhbUL6YMeupT5D6ydaEMe+ZQNgEYHtCUtTx4="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ portaudio ]; ldflags = [ "-s" "-w" "-X=main.version=${version}" ]; passthru.tests = { version = testers.testVersion { package = catnip; }; }; meta = with lib; { description = "Terminal audio visualizer for linux/unix/macOS/windows"; homepage = "https://github.com/noriah/catnip"; changelog = "https://github.com/noriah/catnip/releases/tag/${src.rev}"; license = licenses.mit; maintainers = with maintainers; [ figsoda ]; }; }
pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -18042,6 +18042,8 @@ with pkgs; cadre = callPackage ../development/tools/cadre { }; catnip = callPackage ../tools/audio/catnip { }; cbrowser = callPackage ../development/tools/misc/cbrowser { }; cc-tool = callPackage ../development/embedded/cc-tool { };