nixpkgs/pkgs/development/libraries/libdiscid/default.nix

22 lines
614 B
Nix
Raw Normal View History

{ stdenv, fetchurl, cmake, pkgconfig }:
stdenv.mkDerivation rec {
2014-08-23 22:51:41 +01:00
name = "libdiscid-0.6.1";
nativeBuildInputs = [ pkgconfig ];
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";
};
2014-08-23 22:51:41 +01:00
meta = with stdenv.lib; {
description = "A C library for creating MusicBrainz DiscIDs from audio CDs";
homepage = http://musicbrainz.org/doc/libdiscid;
maintainers = with maintainers; [ ehmry ];
2014-08-23 22:51:41 +01:00
license = licenses.lgpl21;
platforms = platforms.all;
};
}