{"id":43752802,"url":"https://github.com/radekg/ada-german-salary","last_synced_at":"2026-02-05T13:35:51.606Z","repository":{"id":145299978,"uuid":"529714030","full_name":"radekg/ada-german-salary","owner":"radekg","description":"German gross salary employer contributions calculator in Ada","archived":false,"fork":false,"pushed_at":"2022-08-27T23:29:26.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-08T16:31:46.044Z","etag":null,"topics":["ada","germany","salary-calculator","social-contribution"],"latest_commit_sha":null,"homepage":"","language":"Ada","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/radekg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-08-27T22:54:52.000Z","updated_at":"2022-08-27T22:57:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b1179b3-e6dd-4fbc-a8a8-93c93a13fbda","html_url":"https://github.com/radekg/ada-german-salary","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"d29b26bb5109bd23f62cbbb8e6d26961ac3770ea"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/radekg/ada-german-salary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radekg%2Fada-german-salary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radekg%2Fada-german-salary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radekg%2Fada-german-salary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radekg%2Fada-german-salary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/radekg","download_url":"https://codeload.github.com/radekg/ada-german-salary/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radekg%2Fada-german-salary/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29122655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T10:47:47.471Z","status":"ssl_error","status_checked_at":"2026-02-05T10:45:08.119Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ada","germany","salary-calculator","social-contribution"],"created_at":"2026-02-05T13:35:51.099Z","updated_at":"2026-02-05T13:35:51.598Z","avatar_url":"https://github.com/radekg.png","language":"Ada","funding_links":[],"categories":[],"sub_categories":[],"readme":"# German gross salary employer contributions calculator\n\nCalculates German salary employer contributions for a gross number.\n\nThis program does not calculate employee contributions breakdown, only the employer part.\n\nThis is an Ada port of my [Fortran implementation](https://github.com/radekg/fortran-german-salary).\n\n## Setup for development on macOS\n\n### GNAT\n\n1. Download GNAT from https://www.adacore.com/download/more.\n2. Install in a directory you want. For example, I have installed it in `/Users/rad/dev/GNAT/2020`.\n3. Add GNAT executables to `PATH`. I added the following line to the end of `~/.bash_profile`:\n\n```sh\nexport PATH=/Users/rad/dev/GNAT/2020/bin:$PATH\n```\n\n**Note:** use `gprbuild` tool instead of `gnatmake`. `gprbuild` operates on project files. Two online resources for GPRBuild tool:\n\n- https://learn.adacore.com/courses/GNAT_Toolchain_Intro/chapters/gprbuild.html\n- https://docs.adacore.com/gprbuild-docs/html/gprbuild_ug/introduction.html\n\n### Xcode\n\nIf you see an error like this when building Ada program on Mac:\n\n```\nld: library not found for -lSystem\ncollect2: error: ld returned 1 exit status\ngprbuild: link of main.adb failed\n```\n\nit is because you have no Xcode installed. GNAT requires Xcode so install it from the App Store. Before you can progress with the build, you'll have to gree to Xcode license:\n\n```sh\nsudo xcodebuild -license\n```\n\nPress return (`enter`) to display license text, then press `q`, finally type `agree` and press return again. Now, retry Ada program build. You should see output similar to:\n\n### AUnit: the Ada unit test framework\n\nTests require [AUnit](https://github.com/AdaCore/aunit). I'm no expert, but to me it looks like dependencies have to be built for the target architecture and installed on the system. The easiest way to proceed with a dependency is to install it in the `\u003cGNAT-install-dir\u003e/lib`. For AUnit, the best way to proceed seems to be:\n\n```sh\nmkdir -p /tmp/aunit\ncd /tmp/aunit\ngit clone https://github.com/AdaCore/aunit.git .\ngit checkout v22.0.0\nmake\nmake install\n```\n\n## Build\n\n```sh\nmake build\n```\n\nRun the program with `./bin/main`.\n\n## Run tests\n\nThis is a two step process:\n\n1. Compile tests programs.\n2. Run resulting test harnesses.\n\n```sh\nmake tests\n./tests/bin/cli-tests-harness\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradekg%2Fada-german-salary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradekg%2Fada-german-salary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradekg%2Fada-german-salary/lists"}