forked from NixOS/nixpkgs
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request NixOS#68453 from nlewo/pr-next
Add the browser `next`
- Loading branch information
Showing
45 changed files
with
1,253 additions
and
299 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
pkgs/applications/networking/browsers/next-gtk-webkit/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ stdenv, gcc7, pkg-config | ||
, next | ||
, webkitgtk, gsettings-desktop-schemas | ||
}: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "next-gtk-webkit"; | ||
inherit (next) src version; | ||
|
||
makeFlags = [ "gtk-webkit" "PREFIX=$(out)" ]; | ||
installTargets = "install-gtk-webkit"; | ||
|
||
nativeBuildInputs = [ gcc7 pkg-config ]; | ||
buildInputs = [ | ||
webkitgtk | ||
gsettings-desktop-schemas | ||
]; | ||
meta = with stdenv.lib; { | ||
description = "Infinitely extensible web-browser (user interface only)"; | ||
homepage = https://next.atlas.engineer; | ||
license = licenses.bsd3; | ||
maintainers = [ maintainers.lewo ]; | ||
platforms = [ "x86_64-linux" ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
{ pkgs, stdenv, fetchFromGitHub | ||
, gcc7, pkg-config, makeWrapper | ||
, glib-networking | ||
, next-gtk-webkit | ||
, lispPackages | ||
, sbcl | ||
}: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "next"; | ||
version = "1.3.1"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "atlas-engineer"; | ||
repo = "next"; | ||
rev = version; | ||
sha256 = "01fn1f080ydk0wj1bwkyakqz93bdq9xb5x8qz820jpl9id17bqgj"; | ||
}; | ||
|
||
# Stripping destroys the generated SBCL image | ||
dontStrip = true; | ||
|
||
prePatch = '' | ||
substituteInPlace source/ports/gtk-webkit.lisp \ | ||
--replace "next-gtk-webkit" "${next-gtk-webkit}/bin/next-gtk-webkit" | ||
''; | ||
|
||
nativeBuildInputs = [ sbcl makeWrapper ]; | ||
buildInputs = with lispPackages; [ | ||
trivial-features | ||
trivial-garbage | ||
alexandria | ||
bordeaux-threads | ||
cl-json | ||
cl-markup | ||
cl-ppcre | ||
cl-ppcre-unicode | ||
closer-mop | ||
dexador | ||
ironclad | ||
lparallel | ||
parenscript | ||
quri | ||
cl-css | ||
log4cl | ||
mk-string-metrics | ||
sqlite | ||
str | ||
swank | ||
trivia | ||
trivial-clipboard | ||
unix-opts | ||
dbus | ||
]; | ||
propagatedBuildInputs = [ next-gtk-webkit ]; | ||
|
||
buildPhase = '' | ||
common-lisp.sh --eval "(require :asdf)" \ | ||
--eval "(asdf:load-asd (truename \"next.asd\") :name \"next\")" \ | ||
--eval '(asdf:make :next)' \ | ||
--quit | ||
''; | ||
|
||
installPhase = '' | ||
install -D -m0755 next $out/bin/next | ||
''; | ||
|
||
preFixup = '' | ||
wrapProgram $out/bin/next \ | ||
--prefix GIO_EXTRA_MODULES : "${glib-networking.out}/lib/gio/modules" | ||
''; | ||
|
||
meta = with stdenv.lib; { | ||
description = "Infinitely extensible web-browser (with Lisp development files)"; | ||
homepage = https://next.atlas.engineer; | ||
license = licenses.bsd3; | ||
maintainers = [ maintainers.lewo ]; | ||
platforms = [ "x86_64-linux" ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
pkgs/development/lisp-modules/quicklisp-to-nix-output/asdf-package-system.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
args @ { fetchurl, ... }: | ||
rec { | ||
baseName = ''asdf-package-system''; | ||
version = ''20150608-git''; | ||
|
||
description = ''System lacks description''; | ||
|
||
deps = [ ]; | ||
|
||
src = fetchurl { | ||
url = ''http://beta.quicklisp.org/archive/asdf-package-system/2015-06-08/asdf-package-system-20150608-git.tgz''; | ||
sha256 = ''17lfwfc15hcag8a2jsaxkx42wmz2mwkvxf6vb2h9cim7dwsnyy29''; | ||
}; | ||
|
||
packageName = "asdf-package-system"; | ||
|
||
asdFilesToKeep = ["asdf-package-system.asd"]; | ||
overrides = x: x; | ||
} | ||
/* (SYSTEM asdf-package-system DESCRIPTION System lacks description SHA256 | ||
17lfwfc15hcag8a2jsaxkx42wmz2mwkvxf6vb2h9cim7dwsnyy29 URL | ||
http://beta.quicklisp.org/archive/asdf-package-system/2015-06-08/asdf-package-system-20150608-git.tgz | ||
MD5 9eee9d811aec4894843ac1d8ae6cbccd NAME asdf-package-system FILENAME | ||
asdf-package-system DEPS NIL DEPENDENCIES NIL VERSION 20150608-git SIBLINGS | ||
NIL PARASITES NIL) */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
pkgs/development/lisp-modules/quicklisp-to-nix-output/cl-css.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
args @ { fetchurl, ... }: | ||
rec { | ||
baseName = ''cl-css''; | ||
version = ''20140914-git''; | ||
|
||
description = ''Simple inline CSS generator''; | ||
|
||
deps = [ ]; | ||
|
||
src = fetchurl { | ||
url = ''http://beta.quicklisp.org/archive/cl-css/2014-09-14/cl-css-20140914-git.tgz''; | ||
sha256 = ''16zjm10qqyv5v0ysvicbiscplrwlfr0assbf01gp73j1m108rn7n''; | ||
}; | ||
|
||
packageName = "cl-css"; | ||
|
||
asdFilesToKeep = ["cl-css.asd"]; | ||
overrides = x: x; | ||
} | ||
/* (SYSTEM cl-css DESCRIPTION Simple inline CSS generator SHA256 | ||
16zjm10qqyv5v0ysvicbiscplrwlfr0assbf01gp73j1m108rn7n URL | ||
http://beta.quicklisp.org/archive/cl-css/2014-09-14/cl-css-20140914-git.tgz | ||
MD5 a91f5a5d6a751af31d5c4fd8170f6ece NAME cl-css FILENAME cl-css DEPS NIL | ||
DEPENDENCIES NIL VERSION 20140914-git SIBLINGS NIL PARASITES NIL) */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
pkgs/development/lisp-modules/quicklisp-to-nix-output/cl-xmlspam.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
args @ { fetchurl, ... }: | ||
rec { | ||
baseName = ''cl-xmlspam''; | ||
version = ''20101006-http''; | ||
|
||
description = ''Streaming pattern matching for XML''; | ||
|
||
deps = [ args."alexandria" args."babel" args."cl-ppcre" args."closure-common" args."cxml" args."puri" args."trivial-features" args."trivial-gray-streams" ]; | ||
|
||
src = fetchurl { | ||
url = ''http://beta.quicklisp.org/archive/cl-xmlspam/2010-10-06/cl-xmlspam-20101006-http.tgz''; | ||
sha256 = ''1mx1a6ab4irncrx5pamh7zng35m4c5wh0pw68avaz7fbz81s953h''; | ||
}; | ||
|
||
packageName = "cl-xmlspam"; | ||
|
||
asdFilesToKeep = ["cl-xmlspam.asd"]; | ||
overrides = x: x; | ||
} | ||
/* (SYSTEM cl-xmlspam DESCRIPTION Streaming pattern matching for XML SHA256 | ||
1mx1a6ab4irncrx5pamh7zng35m4c5wh0pw68avaz7fbz81s953h URL | ||
http://beta.quicklisp.org/archive/cl-xmlspam/2010-10-06/cl-xmlspam-20101006-http.tgz | ||
MD5 6e3a0944e96e17916b1445f4207babb8 NAME cl-xmlspam FILENAME cl-xmlspam | ||
DEPS | ||
((NAME alexandria FILENAME alexandria) (NAME babel FILENAME babel) | ||
(NAME cl-ppcre FILENAME cl-ppcre) | ||
(NAME closure-common FILENAME closure-common) (NAME cxml FILENAME cxml) | ||
(NAME puri FILENAME puri) | ||
(NAME trivial-features FILENAME trivial-features) | ||
(NAME trivial-gray-streams FILENAME trivial-gray-streams)) | ||
DEPENDENCIES | ||
(alexandria babel cl-ppcre closure-common cxml puri trivial-features | ||
trivial-gray-streams) | ||
VERSION 20101006-http SIBLINGS NIL PARASITES NIL) */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.