tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
sane: remove ? null from inputs, cleanup meta
Sandro Jäckel
4 years ago
e97c0f62
9480c98c
+8
-9
1 changed file
expand all
collapse all
unified
split
pkgs
applications
graphics
sane
xsane.nix
+8
-9
pkgs/applications/graphics/sane/xsane.nix
···
7
, gtk2
8
, pkg-config
9
, libpng
10
-
, libusb-compat-0_1 ? null
11
, gimpSupport ? false
12
-
, gimp ? null
13
}:
14
-
15
-
assert gimpSupport -> gimp != null;
16
17
stdenv.mkDerivation rec {
18
pname = "xsane";
···
29
'';
30
31
nativeBuildInputs = [ pkg-config ];
32
-
buildInputs = [ libpng sane-backends sane-frontends libX11 gtk2 ]
33
-
++ (if libusb-compat-0_1 != null then [ libusb-compat-0_1 ] else [ ])
34
++ lib.optional gimpSupport gimp;
35
36
-
meta = {
37
homepage = "http://www.sane-project.org/";
38
description = "Graphical scanning frontend for sane";
39
-
license = lib.licenses.gpl2Plus;
40
-
platforms = with lib.platforms; linux;
0
41
};
42
}
···
7
, gtk2
8
, pkg-config
9
, libpng
10
+
, libusb-compat-0_1
11
, gimpSupport ? false
12
+
, gimp
13
}:
0
0
14
15
stdenv.mkDerivation rec {
16
pname = "xsane";
···
27
'';
28
29
nativeBuildInputs = [ pkg-config ];
30
+
31
+
buildInputs = [ libpng libusb-compat-0_1 sane-backends sane-frontends libX11 gtk2 ]
32
++ lib.optional gimpSupport gimp;
33
34
+
meta = with lib; {
35
homepage = "http://www.sane-project.org/";
36
description = "Graphical scanning frontend for sane";
37
+
license = licenses.gpl2Plus;
38
+
platforms = platforms.linux;
39
+
maintainers = with maintainers; [ ];
40
};
41
}