about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/taglib-sharp/default.nix
blob: 78a4026455e6d785d47363d0b26fed638c6aa1fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib, stdenv, fetchFromGitHub, autoreconfHook, which, pkg-config, mono }:

stdenv.mkDerivation rec {
  pname = "taglib-sharp";
  version = "2.1.0.0";

  src = fetchFromGitHub {
    owner = "mono";
    repo = "taglib-sharp";
    rev = "taglib-sharp-${version}";
    sha256 = "12pk4z6ag8w7kj6vzplrlasq5lwddxrww1w1ya5ivxrfki15h5cp";
  };

  nativeBuildInputs = [ pkg-config autoreconfHook which ];
  buildInputs = [ mono ];

  dontStrip = true;

  configureFlags = [ "--disable-docs" ];

  meta = with lib; {
    description = "Library for reading and writing metadata in media files";
    homepage = "https://github.com/mono/taglib-sharp";
    platforms = platforms.linux;
    license = licenses.lgpl21;
  };
}