Merge pull request #222299 from bryanasdev000/irpf-2023

irpf: 2022-1.7 -> 2023-1.1
This commit is contained in:
Nick Cao 2023-03-22 16:15:55 +08:00 committed by GitHub
commit ea973db0d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,13 +11,15 @@
stdenvNoCC.mkDerivation rec {
pname = "irpf";
version = "2022-1.7";
version = "2023-1.1";
# https://www.gov.br/receitafederal/pt-br/centrais-de-conteudo/download/pgd/dirpf
# Para outros sistemas operacionais -> Multi
src = let
year = lib.head (lib.splitVersion version);
in fetchzip {
url = "https://downloadirpf.receita.fazenda.gov.br/irpf/${year}/irpf/arquivos/IRPF${version}.zip";
sha256 = "sha256-EHuka0HzWoqjvT/DcuJ9LWSrWl0PW5FyS+7/PdCgrNQ=";
sha256 = "sha256-UOo9LBeOA6H/A7dM6wIa0wXyAaq9xGnX9EUBzK4Y0ng=";
};
nativeBuildInputs = [ unzip makeWrapper copyDesktopItems ];