3
0
Fork 0
forked from mirrors/nixpkgs

edbrowse: use fetchFromGitHub instead of fetchurl

This commit is contained in:
Jörg Thalheim 2018-03-18 12:42:43 +00:00
parent 711bef7bcf
commit fa534f3509

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, duktape, curl, pcre, readline, openssl, perl, html-tidy }:
{ stdenv, fetchFromGitHub, duktape, curl, pcre, readline, openssl, perl, html-tidy }:
stdenv.mkDerivation rec {
name = "edbrowse-${version}";
@ -15,10 +15,11 @@ stdenv.mkDerivation rec {
makeFlags = "-C src prefix=$(out)";
src = fetchurl {
name = "${name}.tar.gz";
url = "https://github.com/CMB/edbrowse/archive/v${version}.tar.gz";
sha256 = "1g9cwk4wszahk2m8k34i3rx44yhqfnv67zls0lk5g7jhrhpbf433";
src = fetchFromGitHub {
owner = "CMB";
repo = "edbrowse";
rev = "v${version}";
sha256 = "00wi0m91zf8p8wk4ixlz99dndgv4xqy93m2vsiwdr3khw3jwipp2";
};
meta = with stdenv.lib; {
description = "Command Line Editor Browser";