Revert "libverto: Add derivation"
This reverts commit 4389ae5208ec9b7e80b3b0e4ee10e2709333519f.
This commit is contained in:
parent
ab8b68cd99
commit
16f87d772f
@ -1,41 +0,0 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig
|
|
||||||
|
|
||||||
# Optional Dependencies
|
|
||||||
, glib ? null, libev ? null, libevent ? null, tevent ? null, talloc ? null
|
|
||||||
}:
|
|
||||||
with stdenv;
|
|
||||||
let
|
|
||||||
optGlib = shouldUsePkg glib;
|
|
||||||
optLibev = shouldUsePkg libev;
|
|
||||||
optLibevent = shouldUsePkg libevent;
|
|
||||||
optTevent = shouldUsePkg tevent;
|
|
||||||
optTalloc = shouldUsePkg talloc;
|
|
||||||
in
|
|
||||||
with stdenv.lib;
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
name = "libverto-0.2.6";
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://fedorahosted.org/releases/l/i/libverto/${name}.tar.gz";
|
|
||||||
sha256 = "17hwr55ga0rkm5cnyfiipyrk9n372x892ph9wzi88j2zhnisdv0p";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
|
||||||
buildInputs = [ optGlib optLibev optLibevent ]
|
|
||||||
++ optionals (optTevent != null && optTalloc != null) [
|
|
||||||
optTevent optTalloc
|
|
||||||
];
|
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
# In v0.2.6 the shipped pkg-config files have an out of order
|
|
||||||
# declaration of exec_prefix breaking them. This fixes that issue
|
|
||||||
sed -i 's,''${exec_prefix},''${prefix},g' $out/lib/pkgconfig/*.pc
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://fedorahosted.org/libverto/;
|
|
||||||
license = licenses.mit;
|
|
||||||
platforms = platforms.all;
|
|
||||||
maintainers = with maintainers; [ wkennington ];
|
|
||||||
};
|
|
||||||
}
|
|
@ -7213,10 +7213,6 @@ let
|
|||||||
|
|
||||||
libvdpau = callPackage ../development/libraries/libvdpau { };
|
libvdpau = callPackage ../development/libraries/libvdpau { };
|
||||||
|
|
||||||
libverto = callPackage ../development/libraries/libverto {
|
|
||||||
glib = null; # Don't include fairly heavy dependency
|
|
||||||
};
|
|
||||||
|
|
||||||
libvirt = callPackage ../development/libraries/libvirt { };
|
libvirt = callPackage ../development/libraries/libvirt { };
|
||||||
|
|
||||||
libvirt-glib = callPackage ../development/libraries/libvirt-glib { };
|
libvirt-glib = callPackage ../development/libraries/libvirt-glib { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user