home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 8d2ca51fc6bc8ea1aae86ab1df6f479846f3ad8b
parent 8385ad835f6cada1a607de27bd6f31489cf73698
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Tue, 15 Oct 2024 11:21:06 +0200

nix/packages: remove gosmee…

… packaged upstream.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mnix/packages/default.nix | 3---
Dnix/packages/gosmee/default.nix | 33---------------------------------
2 files changed, 0 insertions(+), 36 deletions(-)

diff --git a/nix/packages/default.nix b/nix/packages/default.nix @@ -24,9 +24,6 @@ rec { prm = pkgs.callPackage ./prm { }; #protobuild = pkgs.callPackage ./protobuild { }; rmapi = pkgs.callPackage ./rmapi { }; - gosmee = pkgs.callPackage ./gosmee { - buildGoModule = pkgs.buildGo121Module; - }; operator-tool = pkgs.callPackage ./operator-tooling { }; diff --git a/nix/packages/gosmee/default.nix b/nix/packages/gosmee/default.nix @@ -1,33 +0,0 @@ -{ stdenv, lib, buildGoModule, fetchFromGitHub }: - -buildGoModule rec { - name = "gosmee-${version}"; - version = "0.14.0"; - rev = "${version}"; - - src = fetchFromGitHub { - inherit rev; - owner = "chmouel"; - repo = "gosmee"; - sha256 = "sha256-VKH0ajtLndTdW0dOY3XpixkTGy7Kvac7poFZVzj5HQU="; - }; - vendorHash = null; - - postUnpack = '' - printf ${version} > $sourceRoot/gosmee/templates/version - ''; - - postInstall = '' - # completions - mkdir -p $out/share/bash-completion/completions/ - $out/bin/gosmee completion bash > $out/share/bash-completion/completions/gosmee - mkdir -p $out/share/zsh/site-functions - $out/bin/gosmee completion zsh > $out/share/zsh/site-functions/_gosmee - ''; - - meta = { - description = "Command line server and client for webhooks deliveries (and https://smee.io)"; - homepage = "https://github.com/chmouel/gosmee"; - license = lib.licenses.asl20; - }; -}