2020-04-23 23:14:24 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
2020-04-23 23:14:24 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|