2012-10-28 00:13:56 +02:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig }:
|
2010-09-14 16:29:13 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-08-23 23:51:41 +02:00
|
|
|
name = "libdiscid-0.6.1";
|
2010-09-14 16:29:13 +02:00
|
|
|
|
2012-12-28 19:20:09 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2010-09-14 16:29:13 +02:00
|
|
|
buildInputs = [ cmake ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-08-23 23:51:41 +02:00
|
|
|
url = "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/${name}.tar.gz";
|
|
|
|
sha256 = "1mbd5y9056638cffpfwc6772xwrsk18prv1djsr6jpfim38jpsxc";
|
2010-09-14 16:29:13 +02:00
|
|
|
};
|
|
|
|
|
2014-08-23 23:51:41 +02:00
|
|
|
meta = with stdenv.lib; {
|
2010-09-14 16:29:13 +02:00
|
|
|
description = "A C library for creating MusicBrainz DiscIDs from audio CDs";
|
|
|
|
homepage = http://musicbrainz.org/doc/libdiscid;
|
2015-12-05 22:41:25 +01:00
|
|
|
maintainers = with maintainers; [ ehmry ];
|
2014-08-23 23:51:41 +02:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.all;
|
2010-09-14 16:29:13 +02:00
|
|
|
};
|
|
|
|
}
|