add kobo utils
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user