Merge pull request #104788 from SuperSandro2000/auto-update/opustags

authored by Sandro and committed by GitHub 7ce2c5a5 115dc312

+31 -6
+31 -6
pkgs/applications/audio/opustags/default.nix
··· 1 - { stdenv, lib, cmake, pkgconfig, libogg, fetchFromGitHub, libiconv }: 2 stdenv.mkDerivation rec { 3 pname = "opustags"; 4 - version = "1.4.0"; 5 6 src = fetchFromGitHub { 7 owner = "fmang"; 8 repo = "opustags"; 9 rev = version; 10 - sha256 = "1y0czl72paawy342ff9ickaamkih43k59yfcdw7bnddypyfa7nbg"; 11 }; 12 13 buildInputs = [ libogg ]; 14 15 - nativeBuildInputs = [ cmake pkgconfig ] ++ lib.optional stdenv.isDarwin libiconv; 16 17 - meta = with lib; { 18 homepage = "https://github.com/fmang/opustags"; 19 description = "Ogg Opus tags editor"; 20 platforms = platforms.all; 21 - maintainers = [ maintainers.kmein ]; 22 license = licenses.bsd3; 23 }; 24 }
··· 1 + { stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config, libiconv, libogg 2 + , ffmpeg, glibcLocales, perl, perlPackages }: 3 + 4 stdenv.mkDerivation rec { 5 pname = "opustags"; 6 + version = "1.5.1"; 7 8 src = fetchFromGitHub { 9 owner = "fmang"; 10 repo = "opustags"; 11 rev = version; 12 + sha256 = "1dicv4s395b9gb4jpr0rnxdq9azr45pid62q3x08lb7cvyq3yxbh"; 13 }; 14 15 + patches = [ 16 + # Fix building on darwin 17 + (fetchpatch { 18 + url = "https://github.com/fmang/opustags/commit/64fc6f8f6d20e034892e89abff0236c85cae98dc.patch"; 19 + sha256 = "1djifzqhf1w51gbpqbndsh3gnl9iizp6hppxx8x2a92i9ns22zpg"; 20 + }) 21 + (fetchpatch { 22 + url = "https://github.com/fmang/opustags/commit/f98208c1a1d10c15f98b127bbfdf88a7b15b08dc.patch"; 23 + sha256 = "1h3v0r336fca0y8zq1vl2wr8gaqs3vvrrckx7pvji4k1jpiqvp38"; 24 + }) 25 + ]; 26 + 27 buildInputs = [ libogg ]; 28 29 + nativeBuildInputs = [ cmake pkg-config ] ++ stdenv.lib.optional stdenv.isDarwin libiconv; 30 + 31 + doCheck = true; 32 + 33 + checkInputs = [ ffmpeg glibcLocales perl ] ++ (with perlPackages; [ ListMoreUtils ]); 34 35 + checkPhase = '' 36 + export LANG="en_US.UTF-8" 37 + export LC_ALL="en_US.UTF-8" 38 + make check 39 + ''; 40 + 41 + meta = with stdenv.lib; { 42 homepage = "https://github.com/fmang/opustags"; 43 description = "Ogg Opus tags editor"; 44 platforms = platforms.all; 45 + broken = stdenv.isDarwin; 46 + maintainers = with maintainers; [ kmein SuperSandro2000 ]; 47 license = licenses.bsd3; 48 }; 49 }