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