58bf694071
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.
13 lines
500 B
Nix
13 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";
|
|
};
|
|
})
|