add kobo utils

This commit is contained in:
Anish Lakhwara
2023-01-01 16:48:01 +10:00
parent a90219e7cd
commit a8b735e34d
4 changed files with 74 additions and 0 deletions
+2
View File
@@ -5,4 +5,6 @@
plymouth-themes = pkgs.callPackage ./plymouth.nix { };
tic-80 = pkgs.callPackage ./tic-80.nix { };
fennel-ls = pkgs.callPackage ./fennel-ls.nix { };
kobopatch = pkgs.callPackage ./kobopatch.nix { };
# mautrix-discord = pkgs.callPackage ./mautrix-discord.nix { }; # Handled by matrix-appservices input
}
+22
View File
@@ -0,0 +1,22 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
name = "kobopatch";
version = "0.15.0";
vendorSha256 = "1i6srhyig4x8mywyc2l8wzzm1afvb7wxmjsr84c447sb1xss6p7x";
src = fetchFromGitHub {
owner = "geek1011";
repo = "kobopatch";
rev = "653070c67c83ec61884854efc4f8a3132d82a2e5";
sha256 = "09hr3zh0w0f78cx40d2yydqv0mmjdh4iwdgia7sikraphvha85nn";
};
meta = with lib; {
description = "A patch maker for kobo eReader devices.";
homepage = "https://github.com/geek1011/kobopatch";
license = licenses.mit;
platforms = platforms.linux ++ platforms.darwin;
};
}
+23
View File
@@ -0,0 +1,23 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
name = "koboutils";
version = "git_2020-04-08";
vendorSha256 = "1hqvizvbc29yib6awmvlklxkq7j8c0d32gxsipdiwhkh79xbd6wq";
deleteVendor = true;
src = fetchFromGitHub {
owner = "geek1011";
repo = "koboutils";
rev = "50024f2afc6b20205a273ffcbb72c934b80bba96";
sha256 = "0zpmjya13wbmpxbwrpbvw7d2rb040wmc09djhnn6dszlqpflwxmy";
};
meta = with lib; {
description = "Various utilities for Kobo eReaders";
homepage = "https://github.com/geek1011/koboutils";
license = licenses.mit;
platforms = platforms.linux ++ platforms.darwin;
};
}