default.nix (578B)
1 { stdenv, lib, buildGoModule, fetchFromGitHub }: 2 3 buildGoModule rec { 4 name = "rmapi-${version}"; 5 version = "0.0.19"; 6 rev = "v${version}"; 7 8 src = fetchFromGitHub { 9 inherit rev; 10 owner = "juruen"; 11 repo = "rmapi"; 12 sha256 = "sha256-HXWE6688jhRQQEiZuPfuJStSQeueqoWwwa+PfneHprw="; 13 }; 14 vendorHash = "Hash-gu+BU2tL/xZ7D6lZ1ueO/9IB9H3NNm4mloCZaGqZskU="; 15 16 meta = { 17 description = "Go app that allows you to access your reMarkable tablet files through the Cloud API"; 18 homepage = "https://github.com/juruen/rmapi"; 19 license = lib.licenses.gpl3; 20 }; 21 }