@@ -1,17 +1,24 @@
1−{ autoconf, automake, fetchgit, libtool, stdenv, openssl }:
1+{ stdenv, fetchFromGitHub
2+, autoconf
3+, automake
4+, libtool
5+, openssl
6+}:
27
3−let version = "1.8"; in
8+stdenv.mkDerivation rec {
9+ pname = "libetpan";
10+ version = "1.9.3";
411
5−stdenv.mkDerivation {
6− name = "libetpan-${version}";
7−
8− src = fetchgit {
9− url = "git://github.com/dinhviethoa/libetpan";
10− rev = "refs/tags/" + version;
11− sha256 = "09xqy1n18qn63x7idfrpwm59lfkvb1p5vxkyksywvy4f6mn4pyxk";
12+ src = fetchFromGitHub {
13+ owner = "dinhviethoa";
14+ repo = "libetpan";
15+ rev = version;
16+ sha256 = "19g4qskg71jv7sxfxsdkjmrxk9mk5kf9b6fhw06g6wvm3205n95f";
1217 };
1318
14− buildInputs = [ autoconf automake libtool openssl ];
19+ nativeBuildInputs = [ libtool autoconf automake ];
20+
21+ buildInputs = [ openssl ];
1522
1623 configureScript = "./autogen.sh";
1724