depot/third_party/nixpkgs/pkgs/by-name/te/termsonic/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
805 B
Nix

{
lib,
buildGoModule,
fetchzip,
pkg-config,
alsa-lib
}:
buildGoModule rec {
name = "termsonic";
version = "0-unstable-2024-02-02";
src = fetchzip {
url = "https://git.sixfoisneuf.fr/termsonic/snapshot/termsonic-7a3aabee59e1a427aff755fc69759265ad9d0adc.zip";
hash = "sha256-C5/4679qw4CAdUt9lXpPIR3yejrPdddvmjgbpLF3SvA=";
};
vendorHash = "sha256-wCtQD9f1mbN/0qUZnamPoVn9p4Ra5dQ34vlT+XjPF3k=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ alsa-lib ];
strictDeps = true;
meta = with lib; {
homepage = "https://git.sixfoisneuf.fr/termsonic";
description = "Subsonic client running in your terminal";
license = licenses.gpl3Plus;
platforms = platforms.unix;
mainProgram = "termsonic";
maintainers = with maintainers; [ mksafavi ];
};
}