nixpkgs/pkgs/applications/graphics/sane/backends/default.nix
Tobias Geerinckx-Rice 58bf694071 saneBackends: factor out common code into generic.nix
The git version was duplicated from the stable one and the two had
begun to diverge significantly. For example, commit
88d731925d fixed a supposedly real
bug — but only in the stable package.

Factor out the shared code to avoid trouble — or worse, subtle
differences or bugs — in future.
2015-12-24 04:05:57 +01:00

14 lines
500 B
Nix

{ callPackage, fetchurl, ... } @ args:
callPackage ./generic.nix (args // rec {
version = "1.0.25";
src = fetchurl {
sha256 = "0b3fvhrxl4l82bf3v0j47ypjv6a0k5lqbgknrq1agpmjca6vmmx4";
urls = [
"http://pkgs.fedoraproject.org/repo/pkgs/sane-backends/sane-backends-${version}.tar.gz/f9ed5405b3c12f07c6ca51ee60225fe7/sane-backends-${version}.tar.gz"
"https://alioth.debian.org/frs/download.php/file/4146/sane-backends-${version}.tar.gz"
];
curlOpts = "--insecure";
};
})