Skip to content

Commit

Permalink
irpf: 2022-1.7 -> 2023-1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanasdev000 committed Mar 21, 2023
1 parent f3b33a0 commit b3bdfcb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/applications/finance/irpf/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down

0 comments on commit b3bdfcb

Please sign in to comment.