about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/serd/default.nix
blob: 1a1f3475c353142b9a21a133013129b7c90c065c (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
{ lib, stdenv, fetchurl, pkg-config, python3, wafHook }:

stdenv.mkDerivation rec {
  pname = "serd";
  version = "0.30.10";

  src = fetchurl {
    url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
    sha256 = "sha256-r/qA3ux4kh+GM15vw/GLgK7+z0JPaldV6fL6DrBxDt8=";
  };

  dontAddWafCrossFlags = true;

  nativeBuildInputs = [ pkg-config python3 wafHook ];

  meta = with lib; {
    description = "A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples";
    homepage = "http://drobilla.net/software/serd";
    license = licenses.mit;
    maintainers = [ maintainers.goibhniu ];
    mainProgram = "serdi";
    platforms = platforms.unix;
  };
}