saneBackends{,Git} -> sane-backends{,-git}
Fixes xsane evaluation.
This commit is contained in:
parent
6a862c5a61
commit
99075fb402
@ -4,7 +4,9 @@ with lib;
|
|||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
pkg = if config.hardware.sane.snapshot then pkgs.saneBackendsGit else pkgs.saneBackends;
|
pkg = if config.hardware.sane.snapshot
|
||||||
|
then pkgs.sane-backends-git
|
||||||
|
else pkgs.sane-backends;
|
||||||
backends = [ pkg ] ++ config.hardware.sane.extraBackends;
|
backends = [ pkg ] ++ config.hardware.sane.extraBackends;
|
||||||
saneConfig = pkgs.mkSaneConfig { paths = backends; };
|
saneConfig = pkgs.mkSaneConfig { paths = backends; };
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, libjpeg, libexif, libungif, libtiff, libpng, libwebp
|
{ stdenv, fetchurl, libjpeg, libexif, libungif, libtiff, libpng, libwebp
|
||||||
, pkgconfig, freetype, fontconfig, which, imagemagick, curl, saneBackends
|
, pkgconfig, freetype, fontconfig, which, imagemagick, curl, sane-backends
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkgconfig which ];
|
nativeBuildInputs = [ pkgconfig which ];
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ libexif libjpeg libpng libungif freetype fontconfig libtiff libwebp
|
[ libexif libjpeg libpng libungif freetype fontconfig libtiff libwebp
|
||||||
imagemagick curl saneBackends
|
imagemagick curl sane-backends
|
||||||
];
|
];
|
||||||
|
|
||||||
makeFlags = [ "prefix=$(out)" "verbose=yes" ];
|
makeFlags = [ "prefix=$(out)" "verbose=yes" ];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, saneBackends, libX11, gtk, pkgconfig, libusb ? null}:
|
{ stdenv, fetchurl, sane-backends, libX11, gtk, pkgconfig, libusb ? null}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "sane-frontends-1.0.14";
|
name = "sane-frontends-1.0.14";
|
||||||
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
sed -e '/SANE_CAP_ALWAYS_SETTABLE/d' -i src/gtkglue.c
|
sed -e '/SANE_CAP_ALWAYS_SETTABLE/d' -i src/gtkglue.c
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [saneBackends libX11 gtk pkgconfig] ++
|
buildInputs = [sane-backends libX11 gtk pkgconfig] ++
|
||||||
(if libusb != null then [libusb] else []);
|
(if libusb != null then [libusb] else []);
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, saneBackends, saneFrontends, libX11, gtk, pkgconfig, libpng
|
{ stdenv, fetchurl, sane-backends, saneFrontends, libX11, gtk, pkgconfig, libpng
|
||||||
, libusb ? null
|
, libusb ? null
|
||||||
, gimpSupport ? false, gimp_2_8 ? null
|
, gimpSupport ? false, gimp_2_8 ? null
|
||||||
}:
|
}:
|
||||||
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||||||
chmod a+rX -R .
|
chmod a+rX -R .
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [libpng saneBackends saneFrontends libX11 gtk pkgconfig ]
|
buildInputs = [libpng sane-backends saneFrontends libX11 gtk pkgconfig ]
|
||||||
++ (if libusb != null then [libusb] else [])
|
++ (if libusb != null then [libusb] else [])
|
||||||
++ stdenv.lib.optional gimpSupport gimp_2_8;
|
++ stdenv.lib.optional gimpSupport gimp_2_8;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, cairo, colord, glib, gtk3, gusb, intltool, itstool
|
{ stdenv, fetchurl, cairo, colord, glib, gtk3, gusb, intltool, itstool
|
||||||
, libusb1, libxml2, pkgconfig, saneBackends, vala, wrapGAppsHook }:
|
, libusb1, libxml2, pkgconfig, sane-backends, vala, wrapGAppsHook }:
|
||||||
|
|
||||||
let version = "3.19.3"; in
|
let version = "3.19.3"; in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
|||||||
url = "https://launchpad.net/simple-scan/3.19/${version}/+download/${name}.tar.xz";
|
url = "https://launchpad.net/simple-scan/3.19/${version}/+download/${name}.tar.xz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cairo colord glib gusb gtk3 libusb1 libxml2 saneBackends
|
buildInputs = [ cairo colord glib gusb gtk3 libusb1 libxml2 sane-backends
|
||||||
vala ];
|
vala ];
|
||||||
nativeBuildInputs = [ intltool itstool pkgconfig wrapGAppsHook ];
|
nativeBuildInputs = [ intltool itstool pkgconfig wrapGAppsHook ];
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
, librsvg, gnome_vfs, mesa, bsh, CoinMP, libwps, libabw
|
, librsvg, gnome_vfs, mesa, bsh, CoinMP, libwps, libabw
|
||||||
, autoconf, automake, openldap, bash, hunspell, librdf_redland, nss, nspr
|
, autoconf, automake, openldap, bash, hunspell, librdf_redland, nss, nspr
|
||||||
, libwpg, dbus_glib, glibc, qt4, kde4, clucene_core, libcdr, lcms, vigra
|
, libwpg, dbus_glib, glibc, qt4, kde4, clucene_core, libcdr, lcms, vigra
|
||||||
, unixODBC, mdds, saneBackends, mythes, libexttextcat, libvisio
|
, unixODBC, mdds, sane-backends, mythes, libexttextcat, libvisio
|
||||||
, fontsConf, pkgconfig, libzip, bluez5, libtool, maven
|
, fontsConf, pkgconfig, libzip, bluez5, libtool, maven
|
||||||
, libatomic_ops, graphite2, harfbuzz, libodfgen
|
, libatomic_ops, graphite2, harfbuzz, libodfgen
|
||||||
, librevenge, libe-book, libmwaw, glm, glew, gst_all_1
|
, librevenge, libe-book, libmwaw, glm, glew, gst_all_1
|
||||||
@ -220,7 +220,7 @@ in stdenv.mkDerivation rec {
|
|||||||
libXdmcp libpthreadstubs mesa mythes gst_all_1.gstreamer
|
libXdmcp libpthreadstubs mesa mythes gst_all_1.gstreamer
|
||||||
gst_all_1.gst-plugins-base
|
gst_all_1.gst-plugins-base
|
||||||
neon nspr nss openldap openssl ORBit2 pam perl pkgconfigUpstream poppler
|
neon nspr nss openldap openssl ORBit2 pam perl pkgconfigUpstream poppler
|
||||||
python3 sablotron saneBackends tcsh unzip vigra which zip zlib
|
python3 sablotron sane-backends tcsh unzip vigra which zip zlib
|
||||||
mdds bluez5 glibc libcmis libwps libabw
|
mdds bluez5 glibc libcmis libwps libabw
|
||||||
libxshmfence libatomic_ops graphite2 harfbuzz
|
libxshmfence libatomic_ops graphite2 harfbuzz
|
||||||
librevenge libe-book libmwaw glm glew
|
librevenge libe-book libmwaw glm glew
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, kde, kdelibs, saneBackends }:
|
{ stdenv, kde, kdelibs, sane-backends }:
|
||||||
|
|
||||||
kde {
|
kde {
|
||||||
buildInputs = [ kdelibs saneBackends ];
|
buildInputs = [ kdelibs sane-backends ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "An image scanning library that provides a QWidget that contains all the logic needed to interface a sacanner";
|
description = "An image scanning library that provides a QWidget that contains all the logic needed to interface a sacanner";
|
||||||
|
@ -35389,18 +35389,18 @@ self: {
|
|||||||
}) {};
|
}) {};
|
||||||
|
|
||||||
"bindings-sane" = callPackage
|
"bindings-sane" = callPackage
|
||||||
({ mkDerivation, base, bindings-DSL, saneBackends }:
|
({ mkDerivation, base, bindings-DSL, sane-backends }:
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
pname = "bindings-sane";
|
pname = "bindings-sane";
|
||||||
version = "0.0.1";
|
version = "0.0.1";
|
||||||
sha256 = "a27eb00e69a804e65f39246611a747f3a833a87dab536c7f3cde60583a60b04b";
|
sha256 = "a27eb00e69a804e65f39246611a747f3a833a87dab536c7f3cde60583a60b04b";
|
||||||
libraryHaskellDepends = [ base bindings-DSL ];
|
libraryHaskellDepends = [ base bindings-DSL ];
|
||||||
libraryPkgconfigDepends = [ saneBackends ];
|
libraryPkgconfigDepends = [ sane-backends ];
|
||||||
homepage = "http://floss.scru.org/bindings-sane";
|
homepage = "http://floss.scru.org/bindings-sane";
|
||||||
description = "FFI bindings to libsane";
|
description = "FFI bindings to libsane";
|
||||||
license = stdenv.lib.licenses.gpl3;
|
license = stdenv.lib.licenses.gpl3;
|
||||||
hydraPlatforms = [ "i686-linux" "x86_64-linux" ];
|
hydraPlatforms = [ "i686-linux" "x86_64-linux" ];
|
||||||
}) {inherit (pkgs) saneBackends;};
|
}) {inherit (pkgs) sane-backends;};
|
||||||
|
|
||||||
"bindings-sc3" = callPackage
|
"bindings-sc3" = callPackage
|
||||||
({ mkDerivation, base, bindings-DSL, scsynth }:
|
({ mkDerivation, base, bindings-DSL, scsynth }:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, substituteAll
|
{ stdenv, fetchurl, substituteAll
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, cups, zlib, libjpeg, libusb1, pythonPackages, saneBackends, dbus, usbutils
|
, cups, zlib, libjpeg, libusb1, pythonPackages, sane-backends, dbus, usbutils
|
||||||
, net_snmp, polkit
|
, net_snmp, polkit
|
||||||
, qtSupport ? true, qt4, pyqt4
|
, qtSupport ? true, qt4, pyqt4
|
||||||
, withPlugin ? false
|
, withPlugin ? false
|
||||||
@ -56,7 +56,7 @@ stdenv.mkDerivation {
|
|||||||
libusb1
|
libusb1
|
||||||
pythonPackages.python
|
pythonPackages.python
|
||||||
pythonPackages.wrapPython
|
pythonPackages.wrapPython
|
||||||
saneBackends
|
sane-backends
|
||||||
dbus
|
dbus
|
||||||
net_snmp
|
net_snmp
|
||||||
] ++ stdenv.lib.optionals qtSupport [
|
] ++ stdenv.lib.optionals qtSupport [
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl, substituteAll
|
{ stdenv, fetchurl, substituteAll
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, cups, zlib, libjpeg, libusb1, pythonPackages, saneBackends, dbus, usbutils
|
, cups, zlib, libjpeg, libusb1, pythonPackages, sane-backends, dbus, usbutils
|
||||||
, net_snmp, polkit
|
, net_snmp, polkit
|
||||||
, qtSupport ? true, qt4, pyqt4
|
, qtSupport ? true, qt4, pyqt4
|
||||||
, withPlugin ? false
|
, withPlugin ? false
|
||||||
@ -56,7 +56,7 @@ stdenv.mkDerivation {
|
|||||||
libusb1
|
libusb1
|
||||||
pythonPackages.python
|
pythonPackages.python
|
||||||
pythonPackages.wrapPython
|
pythonPackages.wrapPython
|
||||||
saneBackends
|
sane-backends
|
||||||
dbus
|
dbus
|
||||||
net_snmp
|
net_snmp
|
||||||
] ++ stdenv.lib.optionals qtSupport [
|
] ++ stdenv.lib.optionals qtSupport [
|
||||||
|
@ -15753,7 +15753,6 @@ let
|
|||||||
|
|
||||||
xsane = callPackage ../applications/graphics/sane/xsane.nix {
|
xsane = callPackage ../applications/graphics/sane/xsane.nix {
|
||||||
libpng = libpng12;
|
libpng = libpng12;
|
||||||
saneBackends = saneBackends;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
xwiimote = callPackage ../misc/drivers/xwiimote {
|
xwiimote = callPackage ../misc/drivers/xwiimote {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user