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:
parent
50bca782b3
commit
e7b277f3c5
|
@ -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 ];
|
||||
|
|
10
pkgs/desktops/gnome-3/core/simple-scan/src.nix
Normal file
10
pkgs/desktops/gnome-3/core/simple-scan/src.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue