tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
simple-scan 3.19.1 -> 3.19.2
Tobias Geerinckx-Rice
10 years ago
ef0265e3
5e63a0b5
+9
-2
1 changed file
expand all
collapse all
unified
split
pkgs
applications
graphics
simple-scan
default.nix
+9
-2
pkgs/applications/graphics/simple-scan/default.nix
···
1
{ stdenv, fetchurl, cairo, colord, glib, gtk3, gusb, intltool, itstool, libusb
2
, libxml2, makeWrapper, pkgconfig, saneBackends, systemd, vala }:
3
4
-
let version = "3.19.1"; in
5
stdenv.mkDerivation rec {
6
name = "simple-scan-${version}";
7
8
src = fetchurl {
9
-
sha256 = "1d2a8cncq36ly60jpz0fzdw1lgxynl6lyrlw0q66yijlxqn81ynr";
10
url = "https://launchpad.net/simple-scan/3.19/${version}/+download/${name}.tar.xz";
11
};
12
13
buildInputs = [ cairo colord glib gusb gtk3 libusb libxml2 saneBackends
14
systemd vala ];
15
nativeBuildInputs = [ intltool itstool makeWrapper pkgconfig ];
0
0
0
0
0
0
0
16
17
enableParallelBuilding = true;
18
···
1
{ stdenv, fetchurl, cairo, colord, glib, gtk3, gusb, intltool, itstool, libusb
2
, libxml2, makeWrapper, pkgconfig, saneBackends, systemd, vala }:
3
4
+
let version = "3.19.2"; in
5
stdenv.mkDerivation rec {
6
name = "simple-scan-${version}";
7
8
src = fetchurl {
9
+
sha256 = "08454ky855iaiq5wn9rdbfal3i4fjss5fn5mg6cmags50wy9spsg";
10
url = "https://launchpad.net/simple-scan/3.19/${version}/+download/${name}.tar.xz";
11
};
12
13
buildInputs = [ cairo colord glib gusb gtk3 libusb libxml2 saneBackends
14
systemd vala ];
15
nativeBuildInputs = [ intltool itstool makeWrapper pkgconfig ];
16
+
17
+
configureFlags = [ "--disable-packagekit" ];
18
+
19
+
preBuild = ''
20
+
# Clean up stale generated .c files still referencing packagekit headers:
21
+
make clean
22
+
'';
23
24
enableParallelBuilding = true;
25