diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-11-01 16:39:32 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2022-09-07 07:59:44 +0200 |
commit | 520fc6679981e981bf23333b6228e6a89d8c1476 (patch) | |
tree | da607af3eda241b717d4d11b59bcc657a1a821d3 | |
parent | 58db1157a7f184bc0cd2a5a5bf8cd9bc3d524402 (diff) |
iceportal: init at 2021-11-15add-iceportal
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | pkgs/tools/misc/iceportal/default.nix | 28 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/misc/iceportal/default.nix b/pkgs/tools/misc/iceportal/default.nix new file mode 100644 index 000000000000..7f5c078010f1 --- /dev/null +++ b/pkgs/tools/misc/iceportal/default.nix @@ -0,0 +1,28 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "iceportal"; + version = "2021-11-15"; + + src = fetchFromGitHub { + owner = "craftamap"; + repo = "${pname}-api"; + rev = "f73278c28cb5de53e6ab5ec0a99c0e606582cc3d"; + sha256 = "0lg5iaj9pb3am7i17zfl33pv9bkwbfxaz9wc6s9m1z6mxg4s0a1y"; + }; + + vendorSha256 = "1in0gf4adhlwxphqm56dyv4dn81m7v9in26nd26zjf5ggfq8s3sb"; + + meta = with lib; { + description = "Client to interact with the REST API of iceportal.de"; + longDescription = '' + iceportal-api is a Golang client implementation to interact with the REST + API of iceportal.de when connected to the WiFi-Network offered in German + ICE Trains. + ''; + homepage = "https://github.com/craftamap/iceportal-api"; + maintainers = [ maintainers.matthiasbeyer ]; + license = licenses.mit; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1548051431ff..82323009f04f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1024,6 +1024,8 @@ with pkgs; useOldCXXAbi = makeSetupHook { } ../build-support/setup-hooks/use-old-cxx-abi.sh; + iceportal = callPackage ../tools/misc/iceportal {}; + iconConvTools = callPackage ../build-support/icon-conv-tools {}; validatePkgConfig = makeSetupHook |