1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/development/libraries/libdiscid/default.nix
Michael Ashton 78db9a8cb1 Updated version of abcde to 2.5.4
- Added support for MusicBrainz queries to abcde package
- Added new dependencies to abcde: mkcue, eject, perl, MusicBrainz, MusicBrainzDiscID
- libdiscid version in pkg-config was incorrect; patched libdiscid to fix
- Added WebServices::MusicBrainz Perl module
- Added MusicBrainz::DiscID Perl module
- Commented out XSLoader Perl module since it was broken, no packages depend on it,
  and it has been incorporated into the Perl core
2012-10-29 17:14:39 -07:00

27 lines
715 B
Nix

{ stdenv, fetchurl, cmake, pkgconfig }:
stdenv.mkDerivation rec {
name = "libdiscid-0.2.2";
buildNativeInputs = [ pkgconfig ];
buildInputs = [ cmake ];
src = fetchurl {
url = "http://users.musicbrainz.org/~matt/${name}.tar.gz";
sha256 = "00l4ln9rk0vqf67iccwqrgc9qx1al92i05zylh85kd1zn9d5sjwp";
};
# developer forgot to update his version number
# this is propagated to pkg-config
preConfigure = ''
substituteInPlace "CMakeLists.txt" \
--replace "PROJECT_VERSION 0.1.1" "PROJECT_VERSION 0.2.2"
'';
meta = {
description = "A C library for creating MusicBrainz DiscIDs from audio CDs";
homepage = http://musicbrainz.org/doc/libdiscid;
license = "LGPL-2.1";
};
}