nixpkgs/pkgs/applications/misc/remarkable/rmapi/default.nix

26 lines
701 B
Nix
Raw Normal View History

2020-04-24 00:14:24 +02:00
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "rmapi";
2020-12-10 14:10:27 +01:00
version = "0.0.13";
2020-04-24 00:14:24 +02:00
src = fetchFromGitHub {
owner = "juruen";
repo = "rmapi";
rev = "v${version}";
2020-12-10 14:10:27 +01:00
sha256 = "0qq8x37p7yxhcp5d5xss3pv5186xgg0hd6lbkqivhy5yjsd54c7b";
2020-04-24 00:14:24 +02:00
};
2020-12-10 14:10:27 +01:00
vendorSha256 = "1pa75rjns1kknl2gmfprdzc3f2z8dk44jkz6dmf8f3prj0z7x88c";
2020-04-24 00:14:24 +02:00
doCheck = false;
2020-04-24 00:14:24 +02: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 ];
};
}