2021-03-25 15:41:53 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule {
|
|
|
|
pname = "paperlike-go";
|
2021-03-26 12:28:21 +00:00
|
|
|
version = "unstable-2021-03-26";
|
2021-03-25 15:41:53 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "leoluk";
|
|
|
|
repo = "paperlike-go";
|
2021-03-26 12:28:21 +00:00
|
|
|
rev = "bd658d88ea9a3b21e1b301b96253abab7cf56d79";
|
|
|
|
sha256 = "1h0n2n5w5pn3r08qf6hbmiib5m71br27y66ki9ajnaa890377qaj";
|
2021-03-25 15:41:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
subPackages = [ "cmd/paperlike-cli" ];
|
|
|
|
|
|
|
|
vendorSha256 = "00mn0zfivxp2h77s7gmyyjp8p5a1vysn73wwaalgajymvljxxx1r";
|
|
|
|
|
2021-03-26 12:28:21 +00:00
|
|
|
meta = {
|
2021-03-25 15:41:53 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|