parent
cf69cfa831
commit
78c5cc2c6a
|
@ -6,6 +6,8 @@
|
||||||
|[gomodinit](https://git.jojodev.com/jolheiser/gomodinit)|`0.1.1`|
|
|[gomodinit](https://git.jojodev.com/jolheiser/gomodinit)|`0.1.1`|
|
||||||
|[imp](https://git.jojodev.com/jolheiser/imp)|`0.0.8`|
|
|[imp](https://git.jojodev.com/jolheiser/imp)|`0.0.8`|
|
||||||
|[kv](https://git.jojodev.com/jolheiser/kv)|`0.0.4`|
|
|[kv](https://git.jojodev.com/jolheiser/kv)|`0.0.4`|
|
||||||
|[prospect-mail](https://github.com/julian-alarcon/prospect-mail)|`0.5.2`|
|
|[opengist](https://github.com/thomiceli/opengist)|`1.4.2`|
|
||||||
|
|[prospect-mail](https://github.com/julian-alarcon/prospect-mail)|`24e49ca0187884fa772a5928c56d7a9ed76441bd`|
|
||||||
|[tclip](https://github.com/tailscale-dev/tclip)|`2c99626eb040cb9a54cdf4015c5d2bfd0a7be038`|
|
|[tclip](https://github.com/tailscale-dev/tclip)|`2c99626eb040cb9a54cdf4015c5d2bfd0a7be038`|
|
||||||
|[tmpl](https://git.jojodev.com/jolheiser/tmpl)|`0.4.0`|
|
|[tmpl](https://git.jojodev.com/jolheiser/tmpl)|`0.4.0`|
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#!/usr/bin/env nu
|
||||||
|
|
||||||
let re = '(?s)pname = "(?P<name>[^"]+)".+version = "(?P<version>[^"]+)".+homepage = "(?P<homepage>[^"]+)"'
|
let re = '(?s)pname = "(?P<name>[^"]+)".+version = "(?P<version>[^"]+)".+homepage = "(?P<homepage>[^"]+)"'
|
||||||
let pkgs = glob pkgs/*
|
let pkgs = glob pkgs/*
|
||||||
| each { |it| open --raw $"($it)/default.nix" | parse --regex $re }
|
| each { |it| open --raw $"($it)/default.nix" | parse --regex $re }
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
tmpl = pkgs.callPackage ./pkgs/tmpl {};
|
tmpl = pkgs.callPackage ./pkgs/tmpl {};
|
||||||
|
|
||||||
# Other projects
|
# Other projects
|
||||||
|
opengist = pkgs.callPackage ./pkgs/opengist {};
|
||||||
prospect-mail = pkgs.callPackage ./pkgs/prospect-mail {};
|
prospect-mail = pkgs.callPackage ./pkgs/prospect-mail {};
|
||||||
tclip = pkgs.callPackage ./pkgs/tclip {};
|
tclip = pkgs.callPackage ./pkgs/tclip {};
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
{
|
||||||
|
buildGoModule,
|
||||||
|
fetchFromGitHub,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
buildGoModule rec {
|
||||||
|
pname = "opengist";
|
||||||
|
version = "1.4.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "thomiceli";
|
||||||
|
repo = "opengist";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-pDqjoeoVcsbLkAW9EGvIekeMoBqe6YR8LRgTiKS1wLA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-6qLiflF7ncQ6yXAAcxm9P4ZNFMOwPleKmmu1q6CpiXY=";
|
||||||
|
|
||||||
|
ldflags = ["-s" "-w" "-X=github.com/thomiceli/opengist/internal/config.OpengistVersion.Version=${version}"];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Self-hosted pastebin powered by Git, open-source alternative to Github Gist. ";
|
||||||
|
homepage = "https://github.com/thomiceli/opengist";
|
||||||
|
license = licenses.agpl3;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue