blob: 92f4b62966e09f8c29b3e3ada214b5ad4b6af532 (
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, pure, libxml2, libxslt }:
stdenv.mkDerivation rec {
pname = "pure-xml";
version = "0.7";
src = fetchurl {
url = "https://bitbucket.org/purelang/pure-lang/downloads/pure-xml-${version}.tar.gz";
sha256 = "e862dec060917a285bc3befc90f4eb70b6cc33136fb524ad3aa173714a35b0f7";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ pure libxml2 libxslt ];
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
setupHook = ../generic-setup-hook.sh;
meta = {
description = "A simplified interface to the Gnome libxml2 and libxslt libraries for Pure";
homepage = "http://puredocs.bitbucket.org/pure-xml.html";
license = lib.licenses.lgpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ asppsa ];
};
}
|