2012-10-27 22:13:56 +00:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig }:
|
2010-09-14 14:29:13 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-03-15 21:35:49 +00:00
|
|
|
name = "libdiscid-${version}";
|
|
|
|
version = "0.6.2";
|
2010-09-14 14:29:13 +00:00
|
|
|
|
2017-03-15 21:35:49 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
|
2010-09-14 14:29:13 +00:00
|
|
|
src = fetchurl {
|
2014-08-23 21:51:41 +00:00
|
|
|
url = "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/${name}.tar.gz";
|
2017-03-15 21:35:49 +00:00
|
|
|
sha256 = "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r";
|
2010-09-14 14:29:13 +00:00
|
|
|
};
|
|
|
|
|
2014-08-23 21:51:41 +00:00
|
|
|
meta = with stdenv.lib; {
|
2010-09-14 14:29:13 +00:00
|
|
|
description = "A C library for creating MusicBrainz DiscIDs from audio CDs";
|
|
|
|
homepage = http://musicbrainz.org/doc/libdiscid;
|
2015-12-05 21:41:25 +00:00
|
|
|
maintainers = with maintainers; [ ehmry ];
|
2014-08-23 21:51:41 +00:00
|
|
|
license = licenses.lgpl21;
|
2016-09-01 17:39:33 +00:00
|
|
|
platforms = platforms.linux;
|
2010-09-14 14:29:13 +00:00
|
|
|
};
|
|
|
|
}
|