2020-04-23 22:14:24 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "rmapi";
|
2020-06-30 13:07:27 +00:00
|
|
|
version = "0.0.12";
|
2020-04-23 22:14:24 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "juruen";
|
|
|
|
repo = "rmapi";
|
|
|
|
rev = "v${version}";
|
2020-06-30 13:07:27 +00:00
|
|
|
sha256 = "049m0p4wbsl822iym8xmc938d4k90iw7wjdzcxfyy8d27hv9mp45";
|
2020-04-23 22:14:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = "077s13pcql5w2m6wzls1q06r7p501kazbwzxgfh6akwza15kb4is";
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|