1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00

gnome3.simple-scan: move src to a separate file

This commit is contained in:
Jan Tojnar 2017-10-05 00:06:53 +02:00
parent 50bca782b3
commit e7b277f3c5
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4
2 changed files with 11 additions and 8 deletions

View file

@ -3,14 +3,7 @@
, gnome3 }:
stdenv.mkDerivation rec {
name = "simple-scan-${version}";
version = "${major_version}.0.1";
major_version = "3.22";
src = fetchurl {
url = "https://launchpad.net/simple-scan/${major_version}/${version}/+download/${name}.tar.xz";
sha256 = "0l1b3llkdlqq0bcjx1cadba67l2zb4zfykdaprpjbjbr6gkbc1f5";
};
inherit (import ./src.nix fetchurl) name src;
buildInputs = [ cairo colord glib gnome3.defaultIconTheme gusb gtk3 libusb1 libxml2 sane-backends vala_0_32 ];
nativeBuildInputs = [ intltool itstool pkgconfig wrapGAppsHook ];

View file

@ -0,0 +1,10 @@
# Autogenerated by maintainers/scripts/gnome.sh update
fetchurl: {
name = "simple-scan-3.22.0.1";
src = fetchurl {
url = mirror://gnome/sources/simple-scan/3.22/simple-scan-3.22.0.1.tar.xz;
sha256 = "c505b6e63379c9256fbeaa4def3e595fd063d46a8a852ed90218d336291d2b50";
};
}