ostui: init at 1.0.4 (#440684)

authored by Alexis Hildebrandt and committed by GitHub 1cd20737 2a84f9e7

+56
+6
maintainers/maintainer-list.nix
··· 15361 github = "M0NsTeRRR"; 15362 githubId = 37785089; 15363 }; 15364 m0ustache3 = { 15365 name = "M0ustach3"; 15366 github = "M0ustach3";
··· 15361 github = "M0NsTeRRR"; 15362 githubId = 37785089; 15363 }; 15364 + m0streng0 = { 15365 + name = "Henrique Oliveira"; 15366 + email = "ho.henrique@proton.me"; 15367 + github = "M0streng0"; 15368 + githubId = 85799811; 15369 + }; 15370 m0ustache3 = { 15371 name = "M0ustach3"; 15372 github = "M0ustach3";
+50
pkgs/by-name/os/ostui/package.nix
···
··· 1 + { 2 + lib, 3 + buildGoModule, 4 + fetchFromSourcehut, 5 + pkg-config, 6 + mpv-unwrapped, 7 + stdenv, 8 + }: 9 + buildGoModule (finalAttrs: { 10 + pname = "ostui"; 11 + version = "1.0.4"; 12 + 13 + src = fetchFromSourcehut { 14 + owner = "~ser"; 15 + repo = "ostui"; 16 + rev = "v${finalAttrs.version}"; 17 + hash = "sha256-efX19jkJnXyO4iuY2EZqhtLJZ7R/Q2JQZf72gyLgY8k="; 18 + }; 19 + 20 + vendorHash = "sha256-Vmjd0bbeR9+PZCjh1cczE5MWeH5PDVE6obJLmV0wCLQ="; 21 + 22 + nativeBuildInputs = [ 23 + pkg-config 24 + ]; 25 + 26 + buildInputs = [ 27 + mpv-unwrapped 28 + ]; 29 + 30 + ldflags = [ 31 + "-s" 32 + "-w" 33 + "-X main.Version=${finalAttrs.version}" 34 + ]; 35 + 36 + env = { 37 + CGO_ENABLED = "1"; 38 + }; 39 + 40 + doCheck = !stdenv.hostPlatform.isDarwin; 41 + 42 + meta = { 43 + homepage = "https://git.sr.ht/~ser/ostui"; 44 + description = "Terminal client for *sonic music servers, inspired by ncmpcpp and musickube"; 45 + license = lib.licenses.gpl3Only; 46 + platforms = lib.platforms.linux ++ lib.platforms.darwin; 47 + mainProgram = "ostui"; 48 + maintainers = with lib.maintainers; [ m0streng0 ]; 49 + }; 50 + })