arora: use fetchFromGitHub

This commit is contained in:
Orivej Desh 2017-11-03 19:18:17 +00:00
parent 3ba7fa351c
commit 930414e22e

View file

@ -1,17 +1,21 @@
{ stdenv, fetchurl, qt4, qmake4Hook }:
{ stdenv, fetchFromGitHub, qt4, qmake4Hook }:
stdenv.mkDerivation rec {
name = "arora-${version}";
version = "0.11.0";
src = fetchurl {
url = "https://github.com/Arora/arora/archive/${version}.tar.gz";
sha256 = "1ffkranxi93lrg5r7a90pix9j8xqmf0z1mb1m8579v9m34cyypvg";
src = fetchFromGitHub {
owner = "Arora";
repo = "arora";
rev = version;
sha256 = "0wmivgx3mw51rghi6q8fgivpkqc98z2mqmllf7c98ln0wd8rkf3c";
};
buildInputs = [ qt4 ];
nativeBuildInputs = [ qmake4Hook ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
platforms = qt4.meta.platforms;
maintainers = [ maintainers.phreedom ];