Tidy nckx-maintained packages

- Use fetchFromGitHub when possible
- Build in parallel if supported
This commit is contained in:
Tobias Geerinckx-Rice
2015-04-07 17:35:38 +02:00
parent b97435e15f
commit 1926a7aa32
5 changed files with 26 additions and 16 deletions

View File

@@ -1,12 +1,14 @@
{ stdenv, fetchurl }:
{ stdenv, fetchFromGitHub }:
let version = "1.9.7"; in
stdenv.mkDerivation rec {
version = "1.9.7";
name = "libcli-${version}";
src = fetchurl {
url = "https://github.com/dparrish/libcli/archive/v${version}.tar.gz";
sha256 = "0v4867jbach5zd1nq0sspq5q95vvbpnljzm2yf64k8a4w2vadpbx";
src = fetchFromGitHub {
sha256 = "08pmjhqkwldhmcwjhi2l27slf1fk6nxxfaihnk2637pqkycy8z0c";
rev = "v${version}";
repo = "libcli";
owner = "dparrish";
};
enableParallelBuilding = true;