add xcaddy package
This commit is contained in:
parent
c1db2bc786
commit
2b0f936d8d
2 changed files with 25 additions and 0 deletions
|
@ -90,6 +90,7 @@
|
|||
lib = nixpkgs.lib;
|
||||
in {
|
||||
packages.${system} = {
|
||||
"xcaddy" = pkgs.callPackage ./pkgs/xcaddy.nix {};
|
||||
"nerdfont-symbols" = pkgs.callPackage ./pkgs/nerdfont-symbols.nix {};
|
||||
"sway-launcher-desktop" = pkgs.callPackage ./pkgs/sway-launcher-desktop.nix {};
|
||||
"taskwarrior-tui" = pkgs.callPackage ./pkgs/taskwarrior-tui.nix {};
|
||||
|
|
24
pkgs/xcaddy.nix
Normal file
24
pkgs/xcaddy.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ lib, pkgs, fetchFromGitHub, buildGoModule, stdenv, ...}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "xcaddy";
|
||||
version = "0.3.0";
|
||||
proxyVendor = true;
|
||||
subPackages = ["cmd/xcaddy"];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "caddyserver";
|
||||
repo = "xcaddy";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-kB2WyHaln/arvISzVjcgPLHIUC/dCzL9Ub8aEl2xL2c=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-6ZAMRe9MsCuShXCIKEYtItqLM8bKlIf0m70RsNYPG10=";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://caddyserver.com";
|
||||
description = "Caddy build tool";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ thehedgeh0g ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue