Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
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-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a8fe91de2ec6
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9d2ff83b031a
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Oct 24, 2018

  1. abcde: 2.8.1 -> 2.9.2

    Fixes #41789.
    
    (cherry picked from commit 47fb485)
    gebner authored and bjornfor committed Oct 24, 2018
    Copy the full SHA
    f5689d5 View commit details

Commits on Oct 25, 2018

  1. ocamlPackages.vg: 0.9.0 -> 0.9.1

    (cherry picked from commit c640f02)
    vbgl authored and srhb committed Oct 25, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    veprbl Dmitry Kalinkin
    Copy the full SHA
    9d2ff83 View commit details
Showing with 20 additions and 52 deletions.
  1. +0 −30 pkgs/applications/audio/abcde/abcde.patch
  2. +16 −18 pkgs/applications/audio/abcde/default.nix
  3. +4 −4 pkgs/development/ocaml-modules/vg/default.nix
30 changes: 0 additions & 30 deletions pkgs/applications/audio/abcde/abcde.patch

This file was deleted.

34 changes: 16 additions & 18 deletions pkgs/applications/audio/abcde/default.nix
Original file line number Diff line number Diff line change
@@ -3,60 +3,58 @@
, perl, MusicBrainz, MusicBrainzDiscID
, makeWrapper }:

let version = "2.8.1";
let version = "2.9.2";
in
stdenv.mkDerivation {
name = "abcde-${version}";
src = fetchurl {
url = "https://abcde.einval.com/download/abcde-${version}.tar.gz";
sha256 = "0f9bjs0phk23vry7gvh0cll9vl6kmc1y4fwwh762scfdvpbp3774";
sha256 = "13c5yvp87ckqgha160ym5rdr1a4divgvyqbjh0yb6ffclip6qd9l";
};

# FIXME: This package does not support `distmp3', `eject', etc.

patches = [ ./abcde.patch ];

configurePhase = ''
sed -i "s|^[[:blank:]]*prefix *=.*$|prefix = $out|g ;
s|^[[:blank:]]*etcdir *=.*$|etcdir = $out/etc|g ;
s|^[[:blank:]]*INSTALL *=.*$|INSTALL = install -c|g" \
"Makefile";
# We use `cd-paranoia' from GNU libcdio, which contains a hyphen
# in its name, unlike Xiph's cdparanoia.
sed -i "s|^[[:blank:]]*CDPARANOIA=.*$|CDPARANOIA=cd-paranoia|g ;
s|^[[:blank:]]*DEFAULT_CDROMREADERS=.*$|DEFAULT_CDROMREADERS=\"cd-paranoia cdda2wav\"|g" \
"abcde"
echo 'CDPARANOIA=${libcdio-paranoia}/bin/cd-paranoia' >>abcde.conf
echo CDROMREADERSYNTAX=cdparanoia >>abcde.conf
substituteInPlace "abcde" \
--replace "/etc/abcde.conf" "$out/etc/abcde.conf"
'';

buildInputs = [ makeWrapper ];
nativeBuildInputs = [ makeWrapper ];

propagatedBuildInputs = [ perl MusicBrainz MusicBrainzDiscID ];
buildInputs = [ perl MusicBrainz MusicBrainzDiscID ];

installFlags = [ "sysconfdir=$(out)/etc" ];

postFixup = ''
for cmd in abcde cddb-tool abcde-musicbrainz-tool; do
wrapProgram "$out/bin/$cmd" --prefix PATH ":" \
${stdenv.lib.makeBinPath [ "$out" which libcdio-paranoia cddiscid wget vorbis-tools id3v2 eyeD3 lame flac glyr ]}
wrapProgram "$out/bin/$cmd" \
--prefix PERL5LIB : "$PERL5LIB" \
--prefix PATH ":" ${stdenv.lib.makeBinPath [
"$out" which libcdio-paranoia cddiscid wget
vorbis-tools id3v2 eyeD3 lame flac glyr
]}
done
'';

meta = {
meta = with stdenv.lib; {
homepage = http://abcde.einval.com/wiki/;
license = stdenv.lib.licenses.gpl2Plus;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ gebner ];
description = "Command-line audio CD ripper";

longDescription = ''
abcde is a front-end command-line utility (actually, a shell
script) that grabs tracks off a CD, encodes them to
Ogg/Vorbis, MP3, FLAC, Ogg/Speex and/or MPP/MP+ (Musepack)
format, and tags them, all in one go.
'';
platforms = stdenv.lib.platforms.linux;
platforms = platforms.linux;
};
}
8 changes: 4 additions & 4 deletions pkgs/development/ocaml-modules/vg/default.nix
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ let
inherit (stdenv.lib) optionals versionAtLeast;

pname = "vg";
version = "0.9.0";
version = "0.9.1";
webpage = "http://erratique.ch/software/${pname}";
in

@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {

src = fetchurl {
url = "${webpage}/releases/${pname}-${version}.tbz";
sha256 = "1czd2fq85hy24w5pllarsq4pvbx9rda5zdikxfxdng8s9kff2h3f";
sha256 = "07h9a464v0x066mjg3ldkaq94ah47b7rvh54z4rndrg7v6bk7kyp";
};

buildInputs = [ ocaml findlib ocamlbuild topkg ];
@@ -54,8 +54,8 @@ stdenv.mkDerivation rec {
module. An API allows to implement new renderers.
'';
homepage = "${webpage}";
platforms = ocaml.meta.platforms or [];
license = licenses.bsd3;
inherit (ocaml.meta) platforms;
license = licenses.isc;
maintainers = [ maintainers.jirkamarsik ];
};
}