2021-03-20 04:20:00 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule {
|
|
|
|
pname = "paperlike-go";
|
|
|
|
version = "unstable-2021-03-26";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "leoluk";
|
|
|
|
repo = "paperlike-go";
|
|
|
|
rev = "bd658d88ea9a3b21e1b301b96253abab7cf56d79";
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-UuFzBkhIKStVitMYf0Re4dSyYqwLGocRyMPewosVFsA=";
|
2021-03-20 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
vendorHash = "sha256-OfTeJd3VS/WoUpyPY7XfQZWLrvS+vqPPgeL2Hd0HtgI=";
|
2021-03-20 04:20:00 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
subPackages = [ "cmd/paperlike-cli" ];
|
2021-03-20 04:20:00 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "paperlike-go is a Linux Go library and CLI utility to control a Dasung Paperlike display via I2C DDC.";
|
|
|
|
homepage = "https://github.com/leoluk/paperlike-go";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = [ lib.maintainers.adisbladis ];
|
|
|
|
platforms = lib.platforms.linux;
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "paperlike-cli";
|
2021-03-20 04:20:00 +00:00
|
|
|
};
|
|
|
|
}
|