eggdrop: use git rev to fix compiling with gcc5

This commit is contained in:
Robin Gloster 2016-02-07 23:07:12 +00:00
parent 5808bfb977
commit 0c5b86b607

View File

@ -1,16 +1,20 @@
{ stdenv, fetchurl, tcl }: { stdenv, fetchFromGitHub, tcl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "eggdrop-${version}"; name = "eggdrop-${version}";
version = "1.6.21"; version = "1.6.21-nix1";
src = fetchurl { src = fetchFromGitHub {
url = "ftp://ftp.eggheads.org/pub/eggdrop/GNU/1.6/eggdrop${version}.tar.gz"; owner = "eggheads";
sha256 = "1galvbh9y4c3msrg1s9na0asm077mh1g2i2vsv1vczmfrbgq92vs"; repo = "eggdrop";
rev = "9ec109a13c016c4cdc7d52b7e16e4b9b6fbb9331";
sha256 = "0mf1vcbmpnvmf5mxk7gi3z32fxpcbynsh9jni8z8frrscrdf5lp5";
}; };
buildInputs = [ tcl ]; buildInputs = [ tcl ];
hardening_format = false;
preConfigure = '' preConfigure = ''
prefix=$out/eggdrop prefix=$out/eggdrop
mkdir -p $prefix mkdir -p $prefix