2012-10-27 23:13:56 +01:00
|
|
|
{ stdenv, fetchurl, cmake, pkgconfig }:
|
2010-09-14 15:29:13 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-08-23 22:51:41 +01:00
|
|
|
name = "libdiscid-0.6.1";
|
2010-09-14 15:29:13 +01:00
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2010-09-14 15:29:13 +01:00
|
|
|
buildInputs = [ cmake ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-08-23 22:51:41 +01:00
|
|
|
url = "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/${name}.tar.gz";
|
|
|
|
sha256 = "1mbd5y9056638cffpfwc6772xwrsk18prv1djsr6jpfim38jpsxc";
|
2010-09-14 15:29:13 +01:00
|
|
|
};
|
|
|
|
|
2014-08-23 22:51:41 +01:00
|
|
|
meta = with stdenv.lib; {
|
2010-09-14 15:29:13 +01: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 22:51:41 +01:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.all;
|
2010-09-14 15:29:13 +01:00
|
|
|
};
|
|
|
|
}
|