Changed fetchgit to fetchFromGitHub

This commit is contained in:
ndowens 2017-03-23 18:04:36 -05:00 committed by GitHub
parent d09ed00e2d
commit 16d2799af2

View File

@ -1,11 +1,14 @@
{ stdenv, fetchgit }: { stdenv, fetchFromGitHub }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "cde-0.1"; name = "cde-${version}";
src = fetchgit { version = "0.1";
url = "https://github.com/pgbovine/CDE.git";
sha256 = ""; src = fetchFromGitHub {
rev = "551e54d95eb3f8eefc698891f1b873fc4f02f360"; owner = "pgbovine";
repo = "CDE";
sha256 = "0raiz7pczkbnzxpg7g59v7gdp1ipkwgms2vh3431snw1va1gjzmk";
rev = "v${version}";
}; };
# The build is small, so there should be no problem # The build is small, so there should be no problem
@ -25,7 +28,7 @@ stdenv.mkDerivation {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "https://github.com/pgbovine/CDE"; homepage = https://github.com/pgbovine/CDE;
description = "A packaging tool for building portable packages"; description = "A packaging tool for building portable packages";
license = licenses.gpl3; license = licenses.gpl3;
maintainers = [ maintainers.rlupton20 ]; maintainers = [ maintainers.rlupton20 ];