libxmlxx3: split out dev output

This commit is contained in:
Jan Tojnar 2019-06-18 03:10:05 +02:00
parent e40d568daa
commit 8e7cea5cb8
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,16 +1,15 @@
{ stdenv, fetchurl, pkgconfig, libxml2, glibmm, perl }:
stdenv.mkDerivation rec {
name = "libxml++-${maj_ver}.${min_ver}";
maj_ver = "3.0";
min_ver = "1";
pname = "libxml++";
version = "3.0.1";
src = fetchurl {
url = "mirror://gnome/sources/libxml++/${maj_ver}/${name}.tar.xz";
url = "mirror://gnome/sources/libxml++/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "19kik79fmg61nv0by0a5f9wchrcfjwzvih4v2waw01hqflhqvp0r";
};
outputs = [ "out" "devdoc" ];
outputs = [ "out" "dev" "devdoc" ];
nativeBuildInputs = [ pkgconfig perl ];