Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 115dc3122a7e
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7ce2c5a5f7ca
Choose a head ref
  • 5 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 11, 2020

  1. opustags: 1.4.0 -> 1.5.0

    r-ryantm committed Nov 11, 2020
    Copy the full SHA
    83374de View commit details

Commits on Nov 24, 2020

  1. Copy the full SHA
    211a84e View commit details

Commits on Dec 4, 2020

  1. Copy the full SHA
    e0090f9 View commit details
  2. Copy the full SHA
    9796f66 View commit details

Commits on Jan 3, 2021

  1. Copy the full SHA
    7ce2c5a View commit details
Showing with 31 additions and 6 deletions.
  1. +31 −6 pkgs/applications/audio/opustags/default.nix
37 changes: 31 additions & 6 deletions pkgs/applications/audio/opustags/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,49 @@
{ stdenv, lib, cmake, pkgconfig, libogg, fetchFromGitHub, libiconv }:
{ stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config, libiconv, libogg
, ffmpeg, glibcLocales, perl, perlPackages }:

stdenv.mkDerivation rec {
pname = "opustags";
version = "1.4.0";
version = "1.5.1";

src = fetchFromGitHub {
owner = "fmang";
repo = "opustags";
rev = version;
sha256 = "1y0czl72paawy342ff9ickaamkih43k59yfcdw7bnddypyfa7nbg";
sha256 = "1dicv4s395b9gb4jpr0rnxdq9azr45pid62q3x08lb7cvyq3yxbh";
};

patches = [
# Fix building on darwin
(fetchpatch {
url = "https://github.com/fmang/opustags/commit/64fc6f8f6d20e034892e89abff0236c85cae98dc.patch";
sha256 = "1djifzqhf1w51gbpqbndsh3gnl9iizp6hppxx8x2a92i9ns22zpg";
})
(fetchpatch {
url = "https://github.com/fmang/opustags/commit/f98208c1a1d10c15f98b127bbfdf88a7b15b08dc.patch";
sha256 = "1h3v0r336fca0y8zq1vl2wr8gaqs3vvrrckx7pvji4k1jpiqvp38";
})
];

buildInputs = [ libogg ];

nativeBuildInputs = [ cmake pkgconfig ] ++ lib.optional stdenv.isDarwin libiconv;
nativeBuildInputs = [ cmake pkg-config ] ++ stdenv.lib.optional stdenv.isDarwin libiconv;

doCheck = true;

checkInputs = [ ffmpeg glibcLocales perl ] ++ (with perlPackages; [ ListMoreUtils ]);

checkPhase = ''
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
make check
'';

meta = with lib; {
meta = with stdenv.lib; {
homepage = "https://github.com/fmang/opustags";
description = "Ogg Opus tags editor";
platforms = platforms.all;
maintainers = [ maintainers.kmein ];
broken = stdenv.isDarwin;
maintainers = with maintainers; [ kmein SuperSandro2000 ];
license = licenses.bsd3;
};
}