From 9248259708bd6ade5e334a2cdfb29d2a20acb0dd Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 3 Oct 2022 17:15:36 +0200 Subject: ... --- overlays/fast-cli.nix | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 overlays/fast-cli.nix (limited to 'overlays/fast-cli.nix') diff --git a/overlays/fast-cli.nix b/overlays/fast-cli.nix deleted file mode 100644 index a318eada..00000000 --- a/overlays/fast-cli.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ prev, sources, ... }: { - fast-cli = prev.buildGoModule rec { - pname = "fast-cli"; - - inherit (sources.fast-cli) version src; - vendorSha256 = "sha256-XM/5kUau0JBMxN0UpX6QNI31i8/+HNFvgFUFtlJsBh0="; - - preBuild = let - goMod = prev.writeText "go.mod" '' - module github.com/gesquive/fast-cli - - go 1.17 - - require ( - github.com/dustin/go-humanize v0.0.0-20170228161531-259d2a102b87 - github.com/fatih/color v1.4.1 - github.com/gesquive/cli v0.2.0 - github.com/inconshreveable/mousetrap v1.0.0 - github.com/mattn/go-colorable v0.0.8-0.20170210172801-5411d3eea597 - github.com/mattn/go-isatty v0.0.2-0.20170307163044-57fdcb988a5c - github.com/spf13/cobra v0.0.0-20170531045452-8d4ce3549a0b - github.com/spf13/pflag v1.0.0 - golang.org/x/sys v0.0.0-20170213225739-e24f485414ae - ) - ''; - in '' - install -v -m 0644 ${goMod} ./go.mod - ''; - - ldflags = [ - "-X main.version=${prev.lib.removePrefix "v" version}" - ]; - }; -} -- cgit v1.2.3