libnixxml: cleanup
This commit is contained in:
parent
bbc7926c37
commit
a59de3b3f4
1 changed files with 14 additions and 8 deletions
|
@ -1,25 +1,31 @@
|
||||||
{ fetchFromGitHub, lib, stdenv, autoreconfHook, pkg-config, libxml2, gd, glib, getopt, libxslt, nix }:
|
{ fetchFromGitHub, lib, stdenv, autoreconfHook, pkg-config, libxml2, gd, glib, getopt, libxslt, nix }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "libnixxml";
|
pname = "libnixxml";
|
||||||
|
version = "unstable-2020-06-25";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "svanderburg";
|
owner = "svanderburg";
|
||||||
repo = "libnixxml";
|
repo = "libnixxml";
|
||||||
rev = "54c04a5fdbc8661b2445a7527f499e0a77753a1a";
|
rev = "54c04a5fdbc8661b2445a7527f499e0a77753a1a";
|
||||||
sha256 = "sha256-HKQnCkO1TDs1e0MDil0Roq4YRembqRHQvb7lK3GAftQ=";
|
sha256 = "sha256-HKQnCkO1TDs1e0MDil0Roq4YRembqRHQvb7lK3GAftQ=";
|
||||||
};
|
};
|
||||||
configureFlags = [ "--with-gd" "--with-glib" ];
|
|
||||||
CFLAGS = "-Wall";
|
preConfigure = ''
|
||||||
nativeBuildInputs = [ autoreconfHook ];
|
|
||||||
buildInputs = [ pkg-config libxml2 gd.dev glib getopt libxslt nix ];
|
|
||||||
doCheck = false;
|
|
||||||
postPatch = ''
|
|
||||||
./bootstrap
|
./bootstrap
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
configureFlags = [ "--with-gd" "--with-glib" ];
|
||||||
|
CFLAGS = "-Wall";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||||
|
buildInputs = [ libxml2 gd.dev glib getopt libxslt nix ];
|
||||||
|
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "XML-based Nix-friendly data integration library";
|
description = "XML-based Nix-friendly data integration library";
|
||||||
homepage = https://github.com/svanderburg/libnixxml;
|
homepage = "https://github.com/svanderburg/libnixxml";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ tomberek ];
|
maintainers = with maintainers; [ tomberek ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
|
Loading…
Reference in a new issue