add groupchat package
This commit is contained in:
parent
8173a2e886
commit
031229c97e
|
@ -5,6 +5,8 @@ self: super:
|
||||||
|
|
||||||
gintro = super.callPackage ./pkgs/nim-packages/gintro/default.nix { };
|
gintro = super.callPackage ./pkgs/nim-packages/gintro/default.nix { };
|
||||||
|
|
||||||
|
groupchat = super.callPackage ./pkgs/nim-packages/groupchat.nix { };
|
||||||
|
|
||||||
shinto-cli = super.callPackage ./pkgs/shinto-cli { };
|
shinto-cli = super.callPackage ./pkgs/shinto-cli { };
|
||||||
|
|
||||||
ui = super.callPackage ./pkgs/nim-packages/ui.nix { };
|
ui = super.callPackage ./pkgs/nim-packages/ui.nix { };
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
{ stdenv, buildNimblePackage, gnunet, git, makeWrapper }:
|
||||||
|
|
||||||
|
let
|
||||||
|
gnunet_nim = buildNimblePackage rec {
|
||||||
|
name = "gnunet_nim-${version}";
|
||||||
|
version = "0.1.0";
|
||||||
|
src = /home/christian/projects/gnunet_nim;
|
||||||
|
|
||||||
|
buildInputs = [ gnunet ];
|
||||||
|
};
|
||||||
|
in
|
||||||
|
buildNimblePackage rec {
|
||||||
|
name = "groupchat-${version}";
|
||||||
|
version = "0.1.0";
|
||||||
|
src = /home/christian/projects/groupchat;
|
||||||
|
|
||||||
|
nimDeps = [ gnunet_nim ];
|
||||||
|
|
||||||
|
buildInputs = [ git makeWrapper ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/groupchat --prefix LD_LIBRARY_PATH : ${gnunet}/lib --prefix PATH : ${gnunet}/bin
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in New Issue