Merge pull request #254992 from AkechiShiro/brscan5-bump-from-1.2.9-0-to-1.3.0-0

brscan5: 1.2.9-0 -> 1.3.0-0
This commit is contained in:
Ryan Lahfa 2024-01-15 05:41:41 +01:00 committed by GitHub
commit 715fac4e39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,15 +10,15 @@ let
in
stdenv.mkDerivation rec {
pname = "brscan5";
version = "1.2.9-0";
version = "1.3.0-0";
src = {
"i686-linux" = fetchurl {
url = "https://download.brother.com/welcome/dlf104034/${pname}-${version}.i386.deb";
sha256 = "ac23c9a435818955e7882ab06380adf346203ff4e45f384b40e84b8b29642f07";
sha256 = "sha256-LpbPUo8iD5CcwUoIOa1UYHQXMrZZJ7PjZpcuyXhXjzk=";
};
"x86_64-linux" = fetchurl {
url = "https://download.brother.com/welcome/dlf104033/${pname}-${version}.amd64.deb";
sha256 = "4ec23ff4b457323ae778e871a0f1abcc1848ea105af17850b57f7dcaddcfd96d";
sha256 = "sha256-ntVe/e6/cdz3+LSpGilMFZecxfv74pd7ksh85SzEdKc=";
};
}."${system}" or (throw "Unsupported system: ${system}");
@ -34,8 +34,8 @@ stdenv.mkDerivation rec {
postPatch =
let
patchOffsetBytes =
if system == "x86_64-linux" then 84632
else if system == "i686-linux" then 77396
if system == "x86_64-linux" then 86528
else if system == "i686-linux" then 79140
else throw "Unsupported system: ${system}";
in
''