libdiscid update from 0.2.2 to 0.6.1
This commit is contained in:
parent
8493813850
commit
78bcfef61a
@ -1,26 +1,21 @@
|
||||
{ stdenv, fetchurl, cmake, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libdiscid-0.2.2";
|
||||
name = "libdiscid-0.6.1";
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ cmake ];
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://users.musicbrainz.org/~matt/${name}.tar.gz";
|
||||
sha256 = "00l4ln9rk0vqf67iccwqrgc9qx1al92i05zylh85kd1zn9d5sjwp";
|
||||
url = "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/${name}.tar.gz";
|
||||
sha256 = "1mbd5y9056638cffpfwc6772xwrsk18prv1djsr6jpfim38jpsxc";
|
||||
};
|
||||
|
||||
# developer forgot to update his version number
|
||||
# this is propagated to pkg-config
|
||||
preConfigure = ''
|
||||
substituteInPlace "CMakeLists.txt" \
|
||||
--replace "PROJECT_VERSION 0.1.1" "PROJECT_VERSION 0.2.2"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "A C library for creating MusicBrainz DiscIDs from audio CDs";
|
||||
homepage = http://musicbrainz.org/doc/libdiscid;
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
maintainers = with maintainers; [ emery ];
|
||||
license = licenses.lgpl21;
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user