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
+27
View File
@@ -10,6 +10,33 @@
calibre-web = prev.calibre-web.overrideAttrs (prevAttrs: rec {
propagatedBuildInputs = prevAttrs.propagatedBuildInputs ++ [ final.python3.pkgs.jsonschema ]; # allow kobo sync stuff
});
# Need to do server and agent too, maybe
# woodpecker-cli-next =
# let
# common = prev.callPackage "${inputs.unstable}/pkgs/development/tools/continuous-integration/woodpecker/common.nix" { };
# in
# (prev.buildGoModule rec {
# pname = "woodpecker-cli";
# version = "next-${inputs.woodpecker.shortRev}";
# src = inputs.woodpecker;
# vendorSha256 = "sha256-8st1LdgrQQqEZ6oSBm/nE1WI/v7NI+f56qZJySJIFJw=";
# inherit (common) postBuild;
# subPackages = "cmd/cli";
# ldflags = [
# "-s"
# "-w"
# "-X github.com/woodpecker-ci/woodpecker/version.Version=${version}"
# ];
# CGO_ENABLED = 0;
# meta = common.meta // {
# description = "Command line client for the Woodpecker Continuous Integration server";
# };
# });
# example = prev.example.overrideAttrs (oldAttrs: rec {
# ...
# });