irpf: 2026-1.0 -> 2026-1.1 (#511889)
This commit is contained in:
@@ -14,13 +14,10 @@
|
||||
let
|
||||
# The officially recommended version is Java 17
|
||||
java = jdk17;
|
||||
|
||||
# It's not clear yet if this version follows the app version, further updates will probably solve this question
|
||||
pgd-updater-version = "1.0.0";
|
||||
in
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "irpf";
|
||||
version = "2026-1.0";
|
||||
version = "2026-1.1";
|
||||
|
||||
# https://www.gov.br/receitafederal/pt-br/centrais-de-conteudo/download/pgd/dirpf
|
||||
# Para outros sistemas operacionais -> Multi
|
||||
@@ -30,7 +27,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
in
|
||||
fetchzip {
|
||||
url = "https://downloadirpf.receita.fazenda.gov.br/irpf/${year}/irpf/arquivos/IRPF${finalAttrs.version}.zip";
|
||||
hash = "sha256-hePdoDbFPOMjdSzsJqZWyFhHX138bMuocwCNpdOEkKA=";
|
||||
hash = "sha256-/UB8mWB3yaT+mDa3mqGm2ULqDdNcmQu+cHKNdKQa/ug=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -59,7 +56,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
|
||||
cp --no-preserve=mode -r help lib lib-modulos "$BASEDIR"
|
||||
|
||||
install -Dm644 irpf.jar Leia-me.htm offline.png online.png pgd-updater-${pgd-updater-version}.jar "$BASEDIR"
|
||||
install -Dm644 irpf.jar Leia-me.htm offline.png online.png pgd-updater-*.*.*.jar "$BASEDIR"
|
||||
|
||||
# make xdg-open overrideable at runtime
|
||||
makeWrapper ${lib.getExe java} $out/bin/irpf \
|
||||
|
||||
Reference in New Issue
Block a user