mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
837ed96b97
Current version is outdated and falls behind server API: ```console $ rmapi ERROR: 2024/11/10 23:41:20 main.go:77: failed to build documents tree, last error: request failed with status 410 ``` https://github.com/juruen/rmapi repo is archived https://github.com/ddvk/rmapi looks like a viable fork This fork and version bump is suggested in https://www.reddit.com/r/RemarkableTablet/comments/1flzmqq/rmapi_error/ https://github.com/ddvk/rmapi/issues/5
27 lines
712 B
Nix
27 lines
712 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "rmapi";
|
|
version = "0.0.27.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ddvk";
|
|
repo = "rmapi";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-nwGTBCzA9+J3S3Gd3YgwCWAj/gMcoS19awluDZWZCbU=";
|
|
};
|
|
|
|
vendorHash = "sha256-5m3/XFyBEWM8UB3WylkBj+QWI5XsnlVD4K3BhKVVCB4=";
|
|
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
description = "Go app that allows access to the ReMarkable Cloud API programmatically";
|
|
homepage = "https://github.com/ddvk/rmapi";
|
|
changelog = "https://github.com/ddvk/rmapi/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.agpl3Only;
|
|
maintainers = [ maintainers.nickhu ];
|
|
mainProgram = "rmapi";
|
|
};
|
|
}
|