summary refs log blame commit diff
path: root/pkgs/development/libraries/librdf/default.nix
blob: 8f8a54337f240cb64dd473ed452cc254d22da138 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                             
  
 


                              

                  

                                                                    

    
                            
                                                                                
 

                                                   


                                             
          
                                                                                    
                                                      
                                       

                                                       

    
{ stdenv, fetchurl, pkgconfig, autoreconfHook
, librdf_raptor2, ladspaH, openssl, zlib
}:

stdenv.mkDerivation rec {
  version = "0.5.0";
  name = "liblrdf-${version}";

  src = fetchurl {
    url = "http://github.com/swh/LRDF/archive/${version}.tar.gz";
    sha256 = "18p2flb2sv2hq6w2qkd29z9c7knnwqr3f12i2srshlzx6vwkm05s";
  };

  preAutoreconf = "rm m4/*";
  postPatch = "sed -i -e 's:usr/local:usr:' examples/{instances,remove}_test.c";

  nativeBuildInputs = [ autoreconfHook pkgconfig ];
  buildInputs = [ ladspaH openssl zlib ];

  propagatedBuildInputs = [ librdf_raptor2 ];

  meta = {
    description = "Lightweight RDF library with special support for LADSPA plugins";
    homepage = https://sourceforge.net/projects/lrdf/;
    license = stdenv.lib.licenses.gpl2;
    maintainers = [ stdenv.lib.maintainers.marcweber ];
    platforms = stdenv.lib.platforms.linux;
  };
}