2021-02-05 17:12:51 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-05-29 06:06:01 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "rmapi";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "0.0.21";
|
2020-05-29 06:06:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "juruen";
|
|
|
|
repo = "rmapi";
|
|
|
|
rev = "v${version}";
|
2022-10-21 18:38:19 +00:00
|
|
|
sha256 = "sha256-PObuO+Aea2MS1DW3/uOS7GajtFUPolDnPgwxYehGPlA=";
|
2020-05-29 06:06:01 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
vendorSha256 = "sha256-LmKcHV0aq7NDEwaL+u8zXkbKzzdWD8zmnAGw5xShDYo=";
|
2020-05-29 06:06:01 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-05-29 06:06:01 +00:00
|
|
|
description = "A Go app that allows access to the ReMarkable Cloud API programmatically";
|
|
|
|
homepage = "https://github.com/juruen/rmapi";
|
|
|
|
changelog = "https://github.com/juruen/rmapi/blob/v${version}/CHANGELOG.md";
|
2021-05-20 23:08:51 +00:00
|
|
|
license = licenses.agpl3Only;
|
2020-05-29 06:06:01 +00:00
|
|
|
maintainers = [ maintainers.nickhu ];
|
|
|
|
};
|
|
|
|
}
|