Skip to content

Instantly share code, notes, and snippets.

@LinArcX
Created May 10, 2019 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save LinArcX/908c82ff305fb65d8b076850eee6e679 to your computer and use it in GitHub Desktop.
Save LinArcX/908c82ff305fb65d8b076850eee6e679 to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> {}, stdenv, fetchFromGitHub, ... }:
stdenv.mkDerivation rec {
pname = "lantern";
version = "5.3.8";
src = fetchFromGitHub {
owner = "getlantern";
repo = "lantern";
rev = "${version}";
sha256 = "1qarnsimqj69f2x8rzlpkvsbj9m5dkyyl3m294wr6idj3v5jqcsk";
};
# nativeBuildInputs = [ autoreconfHook ];
buildInputs = with pkgs; [ autoreconfHook ];
installPhase = ''
echo $out
cd $out
make lantern
'';
meta = with stdenv.lib; {
homepage = https://github.com/getlantern/lantern;
description = "A free desktop application that delivers fast, reliable and secure access to the open Internet";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = [ maintainers.linarcx ];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment