qjson: Moved to GitHub

This commit is contained in:
Tim Steinbach 2016-11-04 09:36:57 -04:00
parent e6b054faab
commit b054276eb4
No known key found for this signature in database
GPG Key ID: 83FF2ACAEB6C2D24

View File

@ -1,11 +1,14 @@
{ stdenv, fetchurl, cmake, qt4 }:
{ stdenv, fetchFromGitHub, cmake, qt4 }:
stdenv.mkDerivation rec {
name = "qjson-0.8.1";
version = "0.8.1";
name = "qjson-${version}";
src = fetchurl {
url = "mirror://sourceforge/qjson/${name}.tar.bz2";
sha256 = "1n8lr2ph08yhcgimf4q1pnkd4z15v895bsf3m68ljz14aswvakfd";
src = fetchFromGitHub {
owner = "flavio";
repo = "qjson";
rev = "${version}";
sha256 = "1rb3ydrhyd4bczqzfv0kqpi2mx4hlpq1k8jvnwpcmvyaypqpqg59";
};
buildInputs = [ cmake qt4 ];