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