2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2020-04-23 23:14:24 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "rmapi";
|
2020-12-10 13:10:27 +00:00
|
|
|
version = "0.0.13";
|
2020-04-23 23:14:24 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "juruen";
|
|
|
|
repo = "rmapi";
|
|
|
|
rev = "v${version}";
|
2020-12-10 13:10:27 +00:00
|
|
|
sha256 = "0qq8x37p7yxhcp5d5xss3pv5186xgg0hd6lbkqivhy5yjsd54c7b";
|
2020-04-23 23:14:24 +01:00
|
|
|
};
|
|
|
|
|
2020-12-10 13:10:27 +00:00
|
|
|
vendorSha256 = "1pa75rjns1kknl2gmfprdzc3f2z8dk44jkz6dmf8f3prj0z7x88c";
|
2020-04-23 23:14:24 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-23 23:14:24 +01: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";
|
|
|
|
license = licenses.agpl3;
|
|
|
|
maintainers = [ maintainers.nickhu ];
|
|
|
|
};
|
|
|
|
}
|