confuse: remove and replace with libconfuse
- confuse is a duplicate of libconfuse - upstream name is libconfuse so keep this one - replace confuse with libconfuse in packages depending on it
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "confuse-${version}";
|
||||
version = "3.2.1";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/martinh/libconfuse/releases/download/v${version}/${name}.tar.xz";
|
||||
sha256 = "0pnjmlj9i0alp407qd7c0vq83sz7gpsjrbdgpcn4xvzjp9r35ii3";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://www.nongnu.org/confuse/;
|
||||
description = "Configuration file parser library";
|
||||
license = stdenv.lib.licenses.isc;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, pkgconfig, libusb1, confuse
|
||||
{ stdenv, fetchurl, cmake, pkgconfig, libusb1, libconfuse
|
||||
, cppSupport ? true, boost ? null
|
||||
, pythonSupport ? true, python ? null, swig ? null
|
||||
, docSupport ? true, doxygen ? null
|
||||
@@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0x0vncf6i92slgrn0h7ghkskqbglbs534220qa84d0qg114zndpc";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = with stdenv.lib; [ cmake confuse ]
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
buildInputs = with stdenv.lib; [ libconfuse ]
|
||||
++ optionals cppSupport [ boost ]
|
||||
++ optionals pythonSupport [ python swig ]
|
||||
++ optionals docSupport [ doxygen ];
|
||||
|
||||
Reference in New Issue
Block a user