diff options
author | adisbladis <adisbladis@gmail.com> | 2021-03-25 17:41:53 +0200 |
---|---|---|
committer | adisbladis <adisbladis@gmail.com> | 2021-03-25 17:42:16 +0200 |
commit | 21baaaf8c57ccb7a28a459be8666a053f7b6f56a (patch) | |
tree | 7112ba13eb6f0d90794a1e9343fcdeba84ceb853 /pkgs/tools | |
parent | c0e5d0b73afa8a826d1d5580b4e894fb16c035ff (diff) |
paperlike-go: init at unstable-2021-03-22
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/paperlike-go/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/paperlike-go/default.nix b/pkgs/tools/misc/paperlike-go/default.nix new file mode 100644 index 000000000000..301cc81ec807 --- /dev/null +++ b/pkgs/tools/misc/paperlike-go/default.nix @@ -0,0 +1,28 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +buildGoModule { + pname = "paperlike-go"; + version = "unstable-2021-03-22"; + + src = fetchFromGitHub { + owner = "leoluk"; + repo = "paperlike-go"; + rev = "a7d89fd4d4cbcec7be016860e9063676ad4cca0f"; + sha256 = "0ym340520a0j4gvgk4x091lcz1apsv9lnwx0nnha86qvzqcy528l"; + }; + + subPackages = [ "cmd/paperlike-cli" ]; + + vendorSha256 = "00mn0zfivxp2h77s7gmyyjp8p5a1vysn73wwaalgajymvljxxx1r"; + + meta = with lib; { + 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; + }; +} |