use git URLs
This commit is contained in:
parent
031229c97e
commit
5ead427b53
|
@ -1,10 +1,14 @@
|
||||||
{ stdenv, buildNimblePackage, gnunet, git, makeWrapper }:
|
{ stdenv, fetchgit, buildNimblePackage, gnunet, makeWrapper }:
|
||||||
|
|
||||||
let
|
let
|
||||||
gnunet_nim = buildNimblePackage rec {
|
gnunet_nim = buildNimblePackage rec {
|
||||||
name = "gnunet_nim-${version}";
|
name = "gnunet_nim-${version}";
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
src = /home/christian/projects/gnunet_nim;
|
src = fetchgit {
|
||||||
|
url = https://git.gnunet.org/gnunet-nim.git;
|
||||||
|
rev = "1fce7e265d2c896cc5c385c4cd818e399121f822";
|
||||||
|
sha256 = "19qkw0ga109570w1l7pwgv68dvy8mz2c8q78ijkc3xsx6y3rizb2";
|
||||||
|
};
|
||||||
|
|
||||||
buildInputs = [ gnunet ];
|
buildInputs = [ gnunet ];
|
||||||
};
|
};
|
||||||
|
@ -12,11 +16,16 @@ in
|
||||||
buildNimblePackage rec {
|
buildNimblePackage rec {
|
||||||
name = "groupchat-${version}";
|
name = "groupchat-${version}";
|
||||||
version = "0.1.0";
|
version = "0.1.0";
|
||||||
src = /home/christian/projects/groupchat;
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = https://git.gnunet.org/groupchat.git;
|
||||||
|
rev = "15c4d7e6e3b5691e43a7b85748c1e123d288e8f7";
|
||||||
|
sha256 = "1f48xm7fhxlx1bxiv1h607p385mlr6fd8sxm2h6gynnsnmh8wgg5";
|
||||||
|
};
|
||||||
|
|
||||||
nimDeps = [ gnunet_nim ];
|
nimDeps = [ gnunet_nim ];
|
||||||
|
|
||||||
buildInputs = [ git makeWrapper ];
|
buildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/groupchat --prefix LD_LIBRARY_PATH : ${gnunet}/lib --prefix PATH : ${gnunet}/bin
|
wrapProgram $out/bin/groupchat --prefix LD_LIBRARY_PATH : ${gnunet}/lib --prefix PATH : ${gnunet}/bin
|
||||||
|
|
Loading…
Reference in New Issue