at v192 25 lines 845 B view raw
1{ stdenv, fetchurl, pkgconfig, pure, libxml2, libxslt }: 2 3stdenv.mkDerivation rec { 4 baseName = "xml"; 5 version = "0.7"; 6 name = "pure-${baseName}-${version}"; 7 8 src = fetchurl { 9 url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz"; 10 sha256 = "e862dec060917a285bc3befc90f4eb70b6cc33136fb524ad3aa173714a35b0f7"; 11 }; 12 13 buildInputs = [ pkgconfig ]; 14 propagatedBuildInputs = [ pure libxml2 libxslt ]; 15 makeFlags = "libdir=$(out)/lib prefix=$(out)/"; 16 setupHook = ../generic-setup-hook.sh; 17 18 meta = { 19 description = "A simplified interface to the Gnome libxml2 and libxslt libraries for Pure"; 20 homepage = http://puredocs.bitbucket.org/pure-xml.html; 21 license = stdenv.lib.licenses.lgpl3Plus; 22 platforms = stdenv.lib.platforms.linux; 23 maintainers = with stdenv.lib.maintainers; [ asppsa ]; 24 }; 25}