Skip to content

Commit

Permalink
Merge pull request #30980 from wizeman/u/fix-cjdns-hash
Browse files Browse the repository at this point in the history
cjdns: fix hash
  • Loading branch information
orivej committed Nov 1, 2017
2 parents 73fe832 + 7bd64e3 commit 26e4f6f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pkgs/tools/networking/cjdns/default.nix
@@ -1,12 +1,14 @@
{ stdenv, fetchurl, fetchpatch, nodejs, which, python27, utillinux }:
{ stdenv, fetchFromGitHub, nodejs, which, python27, utillinux }:

let version = "20"; in
stdenv.mkDerivation {
name = "cjdns-"+version;

src = fetchurl {
url = "https://github.com/cjdelisle/cjdns/archive/cjdns-v${version}.tar.gz";
sha256 = "1dyqxi9l2pmrgm16a161909rg3vfzvib40frr7p6ddpk8yfh5888";
src = fetchFromGitHub {
owner = "cjdelisle";
repo = "cjdns";
rev = "cjdns-v${version}";
sha256 = "0gqcspiz1n0j711vwq807cy456dkcf03r376l04qc92173g2fzrx";
};

buildInputs = [ which python27 nodejs ] ++
Expand Down

0 comments on commit 26e4f6f

Please sign in to comment.