chore: Rename pkgs->depot in all Nix file headers
This commit is contained in:
parent
5d9d84f4cf
commit
4bbbb58cb5
113 changed files with 318 additions and 349 deletions
|
@ -1,12 +1,12 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.program {
|
depot.nix.buildGo.program {
|
||||||
name = "amsterdump";
|
name = "amsterdump";
|
||||||
srcs = [
|
srcs = [
|
||||||
./main.go
|
./main.go
|
||||||
];
|
];
|
||||||
|
|
||||||
deps = with pkgs.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; map (p: p.gopkg) [
|
||||||
# gopkgs."golang.org".x.oauth2.google
|
# gopkgs."golang.org".x.oauth2.google
|
||||||
gopkgs."googlemaps.github.io".maps
|
gopkgs."googlemaps.github.io".maps
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Solutions for Advent of Code 2019, written in Emacs Lisp.
|
# Solutions for Advent of Code 2019, written in Emacs Lisp.
|
||||||
#
|
#
|
||||||
# For each day a new file is created as "solution-day$n.el".
|
# For each day a new file is created as "solution-day$n.el".
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (builtins) attrNames filter head listToAttrs match readDir;
|
inherit (builtins) attrNames filter head listToAttrs match readDir;
|
||||||
|
@ -13,7 +13,7 @@ let
|
||||||
solutionFiles = filter (e: dir."${e}" == "regular" && isSolution e) (attrNames dir);
|
solutionFiles = filter (e: dir."${e}" == "regular" && isSolution e) (attrNames dir);
|
||||||
solutions = map (f: let day = getDay f; in {
|
solutions = map (f: let day = getDay f; in {
|
||||||
name = day;
|
name = day;
|
||||||
value = pkgs.writeElispBin {
|
value = depot.writeElispBin { # TODO(tazjin): move writeElispBin to depot.nix
|
||||||
name = "aoc2019";
|
name = "aoc2019";
|
||||||
deps = p: with p; [ dash s ht ];
|
deps = p: with p; [ dash s ht ];
|
||||||
src = ./. + ("/" + f);
|
src = ./. + ("/" + f);
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (pkgs) elmPackages;
|
inherit (depot) elmPackages;
|
||||||
inherit (pkgs.third_party) cacert iana-etc libredirect stdenv runCommandNoCC;
|
inherit (depot.third_party) cacert iana-etc libredirect stdenv runCommandNoCC writeText;
|
||||||
|
|
||||||
frontend = stdenv.mkDerivation {
|
frontend = stdenv.mkDerivation {
|
||||||
name = "gemma-frontend.html";
|
name = "gemma-frontend.html";
|
||||||
|
@ -26,17 +26,17 @@ let
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
injectFrontend = pkgs.writeText "gemma-frontend.lisp" ''
|
injectFrontend = writeText "gemma-frontend.lisp" ''
|
||||||
(in-package :gemma)
|
(in-package :gemma)
|
||||||
(setq *static-file-location* "${runCommandNoCC "frontend" {} ''
|
(setq *static-file-location* "${runCommandNoCC "frontend" {} ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
cp ${frontend} $out/index.html
|
cp ${frontend} $out/index.html
|
||||||
''}/")
|
''}/")
|
||||||
'';
|
'';
|
||||||
in pkgs.nix.buildLisp.program {
|
in depot.nix.buildLisp.program {
|
||||||
name = "gemma";
|
name = "gemma";
|
||||||
|
|
||||||
deps = with pkgs.third_party.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
cl-json
|
cl-json
|
||||||
cl-prevalence
|
cl-prevalence
|
||||||
hunchentoot
|
hunchentoot
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.program {
|
depot.nix.buildGo.program {
|
||||||
name = "quinistry";
|
name = "quinistry";
|
||||||
srcs = [
|
srcs = [
|
||||||
./const.go
|
./const.go
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.program {
|
depot.nix.buildGo.program {
|
||||||
name = "watchblob";
|
name = "watchblob";
|
||||||
srcs = [
|
srcs = [
|
||||||
./main.go
|
./main.go
|
||||||
./urls.go
|
./urls.go
|
||||||
];
|
];
|
||||||
|
|
||||||
deps = with pkgs.third_party; [
|
deps = with depot.third_party; [
|
||||||
gopkgs."golang.org".x.crypto.ssh.terminal.gopkg
|
gopkgs."golang.org".x.crypto.ssh.terminal.gopkg
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.nix.buildLisp.program {
|
depot.nix.buildLisp.program {
|
||||||
name = "wc";
|
name = "wc";
|
||||||
|
|
||||||
srcs = [
|
srcs = [
|
||||||
./wc.lisp
|
./wc.lisp
|
||||||
];
|
];
|
||||||
|
|
||||||
deps = with pkgs.third_party.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
unix-opts
|
unix-opts
|
||||||
iterate
|
iterate
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.nix.buildLisp.library {
|
depot.nix.buildLisp.library {
|
||||||
name = "dns";
|
name = "dns";
|
||||||
|
|
||||||
deps = with pkgs.third_party.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
drakma
|
drakma
|
||||||
lisp-binary
|
lisp-binary
|
||||||
iterate
|
iterate
|
||||||
|
|
|
@ -4,12 +4,11 @@
|
||||||
# buildLisp is designed to enforce conventions and do away with the
|
# buildLisp is designed to enforce conventions and do away with the
|
||||||
# free-for-all of existing Lisp build systems.
|
# free-for-all of existing Lisp build systems.
|
||||||
|
|
||||||
{ pkgs ? { third_party = import <nixpkgs> {}; }
|
{ pkgs ? import <nixpkgs> {}, ... }:
|
||||||
, ... }:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (builtins) map elemAt match filter;
|
inherit (builtins) map elemAt match filter;
|
||||||
inherit (pkgs.third_party) lib runCommandNoCC makeWrapper writeText writeShellScriptBin sbcl;
|
inherit (pkgs) lib runCommandNoCC makeWrapper writeText writeShellScriptBin sbcl;
|
||||||
|
|
||||||
#
|
#
|
||||||
# Internal helper definitions
|
# Internal helper definitions
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (pkgs.nix) buildLisp;
|
inherit (depot.nix) buildLisp;
|
||||||
|
|
||||||
# Example Lisp library.
|
# Example Lisp library.
|
||||||
#
|
#
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
#
|
#
|
||||||
# https://tailscale.com/kb/1018/install-acls
|
# https://tailscale.com/kb/1018/install-acls
|
||||||
|
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
with pkgs.nix.yants;
|
with depot.nix.yants;
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (builtins) toFile toJSON;
|
inherit (builtins) toFile toJSON;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ pkgs, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
with builtins;
|
with builtins;
|
||||||
with pkgs.nix.yants;
|
with depot.nix.yants;
|
||||||
|
|
||||||
# Note: Derivations are not included in the tests below as they cause
|
# Note: Derivations are not included in the tests below as they cause
|
||||||
# issues with deepSeq.
|
# issues with deepSeq.
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.third_party.naersk.buildPackage {
|
with depot.third_party;
|
||||||
|
|
||||||
|
naersk.buildPackage {
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
buildInputs = with pkgs.third_party; [
|
buildInputs = [
|
||||||
pkgconfig openssl systemd.dev
|
pkgconfig openssl systemd.dev
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
#
|
#
|
||||||
# Only the 'show' and 'insert' commands are supported.
|
# Only the 'show' and 'insert' commands are supported.
|
||||||
|
|
||||||
{ pkgs, kms, ... }:
|
{ depot, kms, ... }:
|
||||||
|
|
||||||
let inherit (pkgs.third_party) google-cloud-sdk tree writeShellScriptBin;
|
let inherit (depot.third_party) google-cloud-sdk tree writeShellScriptBin;
|
||||||
in (writeShellScriptBin "pass" ''
|
in (writeShellScriptBin "pass" ''
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
|
|
|
@ -10,9 +10,9 @@
|
||||||
# This file is the Nix derivation used to install Kontemplate on
|
# This file is the Nix derivation used to install Kontemplate on
|
||||||
# Nix-based systems.
|
# Nix-based systems.
|
||||||
|
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
with pkgs.third_party; buildGoPackage rec {
|
with depot.third_party; buildGoPackage rec {
|
||||||
name = "kontemplate-${version}";
|
name = "kontemplate-${version}";
|
||||||
version = "master";
|
version = "master";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.third_party.naersk.buildPackage ./.
|
depot.third_party.naersk.buildPackage ./.
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
# This file configures camden.tazj.in, my homeserver.
|
# This file configures camden.tazj.in, my homeserver.
|
||||||
|
{ depot, lib, ... }:
|
||||||
{ pkgs, lib, ... }:
|
|
||||||
|
|
||||||
config: let
|
config: let
|
||||||
nixpkgs = import pkgs.third_party.nixpkgsSrc {
|
nixpkgs = import depot.third_party.nixpkgsSrc {
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
in pkgs.lib.fix(self: {
|
in lib.fix(self: {
|
||||||
imports = [ ../modules/tailscale.nix ];
|
imports = [ ../modules/tailscale.nix ];
|
||||||
|
|
||||||
# camden is intended to boot unattended, despite having an encrypted
|
# camden is intended to boot unattended, despite having an encrypted
|
||||||
|
@ -64,7 +63,7 @@ in pkgs.lib.fix(self: {
|
||||||
|
|
||||||
nixPath = [
|
nixPath = [
|
||||||
"depot=/home/tazjin/depot"
|
"depot=/home/tazjin/depot"
|
||||||
"nixpkgs=${pkgs.third_party.nixpkgsSrc}"
|
"nixpkgs=${depot.third_party.nixpkgsSrc}"
|
||||||
];
|
];
|
||||||
|
|
||||||
trustedUsers = [ "root" "tazjin" ];
|
trustedUsers = [ "root" "tazjin" ];
|
||||||
|
@ -87,7 +86,7 @@ in pkgs.lib.fix(self: {
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
# programs from the depot
|
# programs from the depot
|
||||||
(with pkgs; [
|
(with depot; [
|
||||||
third_party.git
|
third_party.git
|
||||||
third_party.tailscale
|
third_party.tailscale
|
||||||
third_party.pounce
|
third_party.pounce
|
||||||
|
@ -129,8 +128,8 @@ in pkgs.lib.fix(self: {
|
||||||
services.tailscale = {
|
services.tailscale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
relayConf = "/etc/tailscale.conf";
|
relayConf = "/etc/tailscale.conf";
|
||||||
package = pkgs.third_party.tailscale;
|
package = depot.third_party.tailscale;
|
||||||
aclFile = pkgs.nix.tailscale {
|
aclFile = depot.nix.tailscale {
|
||||||
ACLs = [
|
ACLs = [
|
||||||
# Allow any traffic from myself
|
# Allow any traffic from myself
|
||||||
{
|
{
|
||||||
|
@ -145,7 +144,7 @@ in pkgs.lib.fix(self: {
|
||||||
# Run cgit for the depot. The onion here is nginx(thttpd(cgit)).
|
# Run cgit for the depot. The onion here is nginx(thttpd(cgit)).
|
||||||
systemd.services.cgit = {
|
systemd.services.cgit = {
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
script = "${pkgs.web.cgit-taz}/bin/cgit-launch";
|
script = "${depot.web.cgit-taz}/bin/cgit-launch";
|
||||||
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
|
@ -202,18 +201,18 @@ in pkgs.lib.fix(self: {
|
||||||
serverAliases = [ "camden.tazj.in" ];
|
serverAliases = [ "camden.tazj.in" ];
|
||||||
default = true;
|
default = true;
|
||||||
useACMEHost = "tazj.in";
|
useACMEHost = "tazj.in";
|
||||||
root = pkgs.web.homepage;
|
root = depot.web.homepage;
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
${pkgs.web.blog.oldRedirects}
|
${depot.web.blog.oldRedirects}
|
||||||
|
|
||||||
location ~* \.(webp|woff2)$ {
|
location ~* \.(webp|woff2)$ {
|
||||||
add_header Cache-Control "public, max-age=31536000";
|
add_header Cache-Control "public, max-age=31536000";
|
||||||
}
|
}
|
||||||
|
|
||||||
location /blog/ {
|
location /blog/ {
|
||||||
alias ${pkgs.web.blog.rendered}/;
|
alias ${depot.web.blog.rendered}/;
|
||||||
|
|
||||||
if ($request_uri ~ ^/(.*)\.html$) {
|
if ($request_uri ~ ^/(.*)\.html$) {
|
||||||
return 302 /$1;
|
return 302 /$1;
|
||||||
|
|
|
@ -1,17 +1,15 @@
|
||||||
# TODO(tazjin): rename 'pkgs' -> 'depot'?
|
{ depot, lib, ... }:
|
||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (pkgs) lib;
|
|
||||||
inherit (builtins) foldl';
|
inherit (builtins) foldl';
|
||||||
|
|
||||||
systemFor = configs: (pkgs.third_party.nixos {
|
systemFor = configs: (depot.third_party.nixos {
|
||||||
configuration = lib.fix(config:
|
configuration = lib.fix(config:
|
||||||
foldl' lib.recursiveUpdate {} (map (c: c config) configs)
|
foldl' lib.recursiveUpdate {} (map (c: c config) configs)
|
||||||
);
|
);
|
||||||
}).system;
|
}).system;
|
||||||
|
|
||||||
rebuilder = pkgs.third_party.writeShellScriptBin "rebuilder" ''
|
rebuilder = depot.third_party.writeShellScriptBin "rebuilder" ''
|
||||||
set -ue
|
set -ue
|
||||||
if [[ $EUID -ne 0 ]]; then
|
if [[ $EUID -ne 0 ]]; then
|
||||||
echo "Oh no! Only root is allowed to rebuild the system!" >&2
|
echo "Oh no! Only root is allowed to rebuild the system!" >&2
|
||||||
|
@ -39,6 +37,6 @@ let
|
||||||
in {
|
in {
|
||||||
inherit rebuilder;
|
inherit rebuilder;
|
||||||
|
|
||||||
nuggetSystem = systemFor [ pkgs.ops.nixos.nugget ];
|
nuggetSystem = systemFor [ depot.ops.nixos.nugget ];
|
||||||
camdenSystem = systemFor [ pkgs.ops.nixos.camden ];
|
camdenSystem = systemFor [ depot.ops.nixos.camden ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,14 +1,13 @@
|
||||||
# This file configures nugget, my home desktop machine.
|
# This file configures nugget, my home desktop machine.
|
||||||
|
{ depot, lib, ... }:
|
||||||
{ pkgs, lib, ... }:
|
|
||||||
|
|
||||||
config: let
|
config: let
|
||||||
nixpkgs = import pkgs.third_party.nixpkgsSrc {
|
nixpkgs = import depot.third_party.nixpkgsSrc {
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
lieer = (pkgs.third_party.lieer {});
|
lieer = (depot.third_party.lieer {});
|
||||||
in pkgs.lib.fix(self: {
|
in depot.lib.fix(self: {
|
||||||
imports = [
|
imports = [
|
||||||
../modules/tailscale.nix
|
../modules/tailscale.nix
|
||||||
];
|
];
|
||||||
|
@ -39,7 +38,7 @@ in pkgs.lib.fix(self: {
|
||||||
nix = {
|
nix = {
|
||||||
nixPath = [
|
nixPath = [
|
||||||
"depot=/home/tazjin/depot"
|
"depot=/home/tazjin/depot"
|
||||||
"nixpkgs=${pkgs.third_party.nixpkgsSrc}"
|
"nixpkgs=${depot.third_party.nixpkgsSrc}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -79,8 +78,8 @@ in pkgs.lib.fix(self: {
|
||||||
|
|
||||||
# Generate an immutable /etc/resolv.conf from the nameserver settings
|
# Generate an immutable /etc/resolv.conf from the nameserver settings
|
||||||
# above (otherwise DHCP overwrites it):
|
# above (otherwise DHCP overwrites it):
|
||||||
environment.etc."resolv.conf" = with lib; with pkgs; {
|
environment.etc."resolv.conf" = with lib; {
|
||||||
source = writeText "resolv.conf" ''
|
source = depot.third_party.writeText "resolv.conf" ''
|
||||||
${concatStringsSep "\n" (map (ns: "nameserver ${ns}") self.networking.nameservers)}
|
${concatStringsSep "\n" (map (ns: "nameserver ${ns}") self.networking.nameservers)}
|
||||||
options edns0
|
options edns0
|
||||||
'';
|
'';
|
||||||
|
@ -90,7 +89,7 @@ in pkgs.lib.fix(self: {
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
# programs from the depot
|
# programs from the depot
|
||||||
(with pkgs; [
|
(with depot; [
|
||||||
lieer
|
lieer
|
||||||
ops.kontemplate
|
ops.kontemplate
|
||||||
third_party.git
|
third_party.git
|
||||||
|
@ -217,9 +216,9 @@ in pkgs.lib.fix(self: {
|
||||||
lightdm.greeters.gtk.clock-format = "%H·%M";
|
lightdm.greeters.gtk.clock-format = "%H·%M";
|
||||||
};
|
};
|
||||||
|
|
||||||
windowManager.session = pkgs.lib.singleton {
|
windowManager.session = lib.singleton {
|
||||||
name = "exwm";
|
name = "exwm";
|
||||||
start = "${pkgs.tools.emacs}/bin/tazjins-emacs";
|
start = "${depot.tools.emacs}/bin/tazjins-emacs";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -251,7 +250,7 @@ in pkgs.lib.fix(self: {
|
||||||
enable = true;
|
enable = true;
|
||||||
relayConf = "/etc/tailscale/relay.conf";
|
relayConf = "/etc/tailscale/relay.conf";
|
||||||
aclFile = null; # allow all traffic for testing
|
aclFile = null; # allow all traffic for testing
|
||||||
package = pkgs.third_party.tailscale;
|
package = depot.third_party.tailscale;
|
||||||
};
|
};
|
||||||
|
|
||||||
# ... and other nonsense.
|
# ... and other nonsense.
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.third_party.naersk.buildPackage ./.
|
depot.third_party.naersk.buildPackage ./.
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.program {
|
depot.nix.buildGo.program {
|
||||||
name = "sync-gcsr";
|
name = "sync-gcsr";
|
||||||
srcs = [ ./main.go ];
|
srcs = [ ./main.go ];
|
||||||
|
|
||||||
deps = with pkgs.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; map (p: p.gopkg) [
|
||||||
gopkgs."gopkg.in".src-d.go-git
|
gopkgs."gopkg.in".src-d.go-git
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -1,28 +1,13 @@
|
||||||
# This file is used to move things from nested attribute sets to the
|
# This file is used to move things from nested attribute sets to the
|
||||||
# top-level.
|
# top-level.
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
buildGo = pkgs.nix.buildGo;
|
buildGo = depot.nix.buildGo; # TODO(tazjin): remove this
|
||||||
|
|
||||||
# These packages must be exposed at the top-level for compatibility
|
|
||||||
# with Nixery.
|
|
||||||
inherit (pkgs.third_party)
|
|
||||||
bashInteractive
|
|
||||||
cacert
|
|
||||||
coreutils
|
|
||||||
iana-etc
|
|
||||||
jq
|
|
||||||
moreutils
|
|
||||||
nano
|
|
||||||
openssl
|
|
||||||
runCommand
|
|
||||||
symlinkJoin
|
|
||||||
writeText;
|
|
||||||
|
|
||||||
# These packages must be exposed for compatibility with buildGo.
|
# These packages must be exposed for compatibility with buildGo.
|
||||||
#
|
#
|
||||||
# Despite buildGo being tracked in this tree, I want it to be possible
|
# Despite buildGo being tracked in this tree, I want it to be possible
|
||||||
# for external users to import it with the default nixpkgs layout.
|
# for external users to import it with the default nixpkgs layout.
|
||||||
inherit (pkgs.third_party) go ripgrep;
|
inherit (depot.third_party) go ripgrep;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# the newer version is a lot of effort.
|
# the newer version is a lot of effort.
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
(import (pkgs.third_party.fetchFromGitHub {
|
(import (pkgs.fetchFromGitHub {
|
||||||
owner = "NixOS";
|
owner = "NixOS";
|
||||||
repo = "nixpkgs";
|
repo = "nixpkgs";
|
||||||
rev = "14f9ee66e63077539252f8b4550049381a082518";
|
rev = "14f9ee66e63077539252f8b4550049381a082518";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
with pkgs;
|
with depot;
|
||||||
|
|
||||||
third_party.writeShellScriptBin "kontemplate" ''
|
third_party.writeShellScriptBin "kontemplate" ''
|
||||||
export PATH="${ops.kms_pass}/bin:$PATH"
|
export PATH="${ops.kms_pass}/bin:$PATH"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{ name, src, deps ? (_: []), emacs ? pkgs.third_party.emacs26-nox }:
|
{ name, src, deps ? (_: []), emacs ? pkgs.emacs26-nox }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (pkgs.third_party) emacsPackagesNg emacsPackagesNgGen writeTextFile;
|
inherit (pkgs) emacsPackagesNg emacsPackagesNgGen writeTextFile;
|
||||||
inherit (builtins) isString toFile;
|
inherit (builtins) isString toFile;
|
||||||
|
|
||||||
finalEmacs = (emacsPackagesNgGen emacs).emacsWithPackages deps;
|
finalEmacs = (emacsPackagesNgGen emacs).emacsWithPackages deps;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
with pkgs.third_party;
|
with pkgs;
|
||||||
|
|
||||||
let tex = texlive.combine {
|
let tex = texlive.combine {
|
||||||
inherit (texlive)
|
inherit (texlive)
|
||||||
|
|
6
third_party/cgit/default.nix
vendored
6
third_party/cgit/default.nix
vendored
|
@ -1,7 +1,7 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (pkgs.third_party) stdenv gzip bzip2 xz luajit zlib autoconf openssl pkgconfig;
|
inherit (depot.third_party) stdenv gzip bzip2 xz luajit zlib autoconf openssl pkgconfig;
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "cgit";
|
pname = "cgit";
|
||||||
version = "master";
|
version = "master";
|
||||||
|
@ -22,7 +22,7 @@ in stdenv.mkDerivation rec {
|
||||||
# git version).
|
# git version).
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
rm -rf git # remove submodule dir ...
|
rm -rf git # remove submodule dir ...
|
||||||
cp -r --no-preserve=ownership,mode ${pkgs.third_party.git.src} git
|
cp -r --no-preserve=ownership,mode ${depot.third_party.git.src} git
|
||||||
makeFlagsArray+=(prefix="$out" CGIT_SCRIPT_PATH="$out/cgit/")
|
makeFlagsArray+=(prefix="$out" CGIT_SCRIPT_PATH="$out/cgit/")
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
2
third_party/default.nix
vendored
2
third_party/default.nix
vendored
|
@ -2,8 +2,8 @@
|
||||||
# third-party code) into my package tree.
|
# third-party code) into my package tree.
|
||||||
#
|
#
|
||||||
# This includes *all packages needed from nixpkgs*.
|
# This includes *all packages needed from nixpkgs*.
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
{ pkgs, ... }:
|
|
||||||
let
|
let
|
||||||
# Tracking nixos-unstable as of 2020-02-17.
|
# Tracking nixos-unstable as of 2020-02-17.
|
||||||
commit = "8130f3c1c2bb0e533b5e150c39911d6e61dcecc2";
|
commit = "8130f3c1c2bb0e533b5e150c39911d6e61dcecc2";
|
||||||
|
|
2
third_party/emacs/carp-mode.nix
vendored
2
third_party/emacs/carp-mode.nix
vendored
|
@ -1,6 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
with pkgs.third_party;
|
with pkgs;
|
||||||
with emacsPackagesNg;
|
with emacsPackagesNg;
|
||||||
|
|
||||||
melpaBuild rec {
|
melpaBuild rec {
|
||||||
|
|
4
third_party/git/default.nix
vendored
4
third_party/git/default.nix
vendored
|
@ -1,8 +1,8 @@
|
||||||
# Use the upstream git derivation (there's a lot of stuff happening in
|
# Use the upstream git derivation (there's a lot of stuff happening in
|
||||||
# there!) and just override the source:
|
# there!) and just override the source:
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
with pkgs.third_party;
|
with depot.third_party;
|
||||||
|
|
||||||
(originals.git.overrideAttrs(_: {
|
(originals.git.overrideAttrs(_: {
|
||||||
version = "2.23.0";
|
version = "2.23.0";
|
||||||
|
|
|
@ -1,12 +1,9 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "cloud.google.com/go";
|
path = "cloud.google.com/go";
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "https://code.googlesource.com/gocloud";
|
url = "https://code.googlesource.com/gocloud";
|
||||||
rev = "4f03f8e4ba168c636e1c218da7ab41a1c8c0d8cf";
|
rev = "4f03f8e4ba168c636e1c218da7ab41a1c8c0d8cf";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; map (p: p.gopkg) [
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "github.com/emirpasic/gods";
|
path = "github.com/emirpasic/gods";
|
||||||
|
|
||||||
src = pkgs.third_party.fetchFromGitHub {
|
src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "emirpasic";
|
owner = "emirpasic";
|
||||||
repo = "gods";
|
repo = "gods";
|
||||||
rev = "4e23915b9a82f35f320a68a395a7a5045c826932";
|
rev = "4e23915b9a82f35f320a68a395a7a5045c826932";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "github.com/golang/groupcache";
|
path = "github.com/golang/groupcache";
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "https://github.com/golang/groupcache";
|
url = "https://github.com/golang/groupcache";
|
||||||
|
|
|
@ -1,12 +1,9 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "github.com/golang/protobuf";
|
path = "github.com/golang/protobuf";
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "https://github.com/golang/protobuf";
|
url = "https://github.com/golang/protobuf";
|
||||||
rev = "ed6926b37a637426117ccab59282c3839528a700";
|
rev = "ed6926b37a637426117ccab59282c3839528a700";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; [
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "github.com/google/uuid";
|
path = "github.com/google/uuid";
|
||||||
|
|
||||||
src = pkgs.third_party.fetchFromGitHub {
|
src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = "uuid";
|
repo = "uuid";
|
||||||
rev = "c2e93f3ae59f2904160ceaab466009f965df46d6";
|
rev = "c2e93f3ae59f2904160ceaab466009f965df46d6";
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (pkgs) buildGo;
|
inherit (depot) buildGo;
|
||||||
inherit (builtins) fetchGit;
|
inherit (builtins) fetchGit;
|
||||||
in pkgs.buildGo.external {
|
in depot.buildGo.external {
|
||||||
path = "github.com/googleapis/gax-go";
|
path = "github.com/googleapis/gax-go";
|
||||||
src = fetchGit {
|
src = fetchGit {
|
||||||
url = "https://github.com/googleapis/gax-go";
|
url = "https://github.com/googleapis/gax-go";
|
||||||
rev = "b443e5a67ec8eeac76f5f384004931878cab24b3";
|
rev = "b443e5a67ec8eeac76f5f384004931878cab24b3";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; [
|
deps = with depot.third_party; [
|
||||||
gopkgs."golang.org".x.net.trace.gopkg
|
gopkgs."golang.org".x.net.trace.gopkg
|
||||||
gopkgs."google.golang.org".grpc.gopkg
|
gopkgs."google.golang.org".grpc.gopkg
|
||||||
gopkgs."google.golang.org".grpc.codes.gopkg
|
gopkgs."google.golang.org".grpc.codes.gopkg
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "github.com/hashicorp/golang-lru";
|
path = "github.com/hashicorp/golang-lru";
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "https://github.com/hashicorp/golang-lru";
|
url = "https://github.com/hashicorp/golang-lru";
|
||||||
rev = "7f827b33c0f158ec5dfbba01bb0b14a4541fd81d";
|
rev = "7f827b33c0f158ec5dfbba01bb0b14a4541fd81d";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; map (p: p.gopkg) [
|
||||||
gopkgs."golang.org".x.net.context.ctxhttp
|
gopkgs."golang.org".x.net.context.ctxhttp
|
||||||
gopkgs."cloud.google.com".go.compute.metadata
|
gopkgs."cloud.google.com".go.compute.metadata
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "github.com/jbenet/go-context";
|
path = "github.com/jbenet/go-context";
|
||||||
|
|
||||||
src = pkgs.third_party.fetchFromGitHub {
|
src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "jbenet";
|
owner = "jbenet";
|
||||||
repo = "go-context";
|
repo = "go-context";
|
||||||
rev = "d14ea06fba99483203c19d92cfcd13ebe73135f4";
|
rev = "d14ea06fba99483203c19d92cfcd13ebe73135f4";
|
||||||
sha256 = "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl";
|
sha256 = "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; map (p: p.gopkg) [
|
||||||
gopkgs."golang.org".x.net.context
|
gopkgs."golang.org".x.net.context
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,12 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "github.com/kevinburke/ssh_config";
|
path = "github.com/kevinburke/ssh_config";
|
||||||
|
|
||||||
src = pkgs.third_party.fetchFromGitHub {
|
src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "kevinburke";
|
owner = "kevinburke";
|
||||||
repo = "ssh_config";
|
repo = "ssh_config";
|
||||||
rev = "01f96b0aa0cdcaa93f9495f89bbc6cb5a992ce6e";
|
rev = "01f96b0aa0cdcaa93f9495f89bbc6cb5a992ce6e";
|
||||||
sha256 = "1bxfjkjl3ibzdkwyvgdwawmd0skz30ah1ha10rg6fkxvj7lgg4jz";
|
sha256 = "1bxfjkjl3ibzdkwyvgdwawmd0skz30ah1ha10rg6fkxvj7lgg4jz";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; map (p: p.gopkg) [
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "github.com/mitchellh/go-homedir";
|
path = "github.com/mitchellh/go-homedir";
|
||||||
|
|
||||||
src = pkgs.third_party.fetchFromGitHub {
|
src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "mitchellh";
|
owner = "mitchellh";
|
||||||
repo = "go-homedir";
|
repo = "go-homedir";
|
||||||
rev = "af06845cf3004701891bf4fdb884bfe4920b3727";
|
rev = "af06845cf3004701891bf4fdb884bfe4920b3727";
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "github.com/sergi/go-diff";
|
path = "github.com/sergi/go-diff";
|
||||||
|
|
||||||
src = pkgs.third_party.fetchFromGitHub {
|
src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "sergi";
|
owner = "sergi";
|
||||||
repo = "go-diff";
|
repo = "go-diff";
|
||||||
rev = "58c5cb1602ee9676b5d3590d782bedde80706fcc";
|
rev = "58c5cb1602ee9676b5d3590d782bedde80706fcc";
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "github.com/src-d/gcfg";
|
path = "github.com/src-d/gcfg";
|
||||||
|
|
||||||
src = pkgs.third_party.fetchFromGitHub {
|
src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "src-d";
|
owner = "src-d";
|
||||||
repo = "gcfg";
|
repo = "gcfg";
|
||||||
rev = "1ac3a1ac202429a54835fe8408a92880156b489d";
|
rev = "1ac3a1ac202429a54835fe8408a92880156b489d";
|
||||||
sha256 = "044j95skmyrwjw5fwjk6ka32rjgsg0ar0mfp9np19sh1acwv4x4r";
|
sha256 = "044j95skmyrwjw5fwjk6ka32rjgsg0ar0mfp9np19sh1acwv4x4r";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; map (p: p.gopkg) [
|
||||||
gopkgs."gopkg.in".warnings
|
gopkgs."gopkg.in".warnings
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "github.com/xanzy/ssh-agent";
|
path = "github.com/xanzy/ssh-agent";
|
||||||
|
|
||||||
src = pkgs.third_party.fetchFromGitHub {
|
src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "xanzy";
|
owner = "xanzy";
|
||||||
repo = "ssh-agent";
|
repo = "ssh-agent";
|
||||||
rev = "6a3e2ff9e7c564f36873c2e36413f634534f1c44";
|
rev = "6a3e2ff9e7c564f36873c2e36413f634534f1c44";
|
||||||
sha256 = "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av";
|
sha256 = "1chjlnv5d6svpymxgsr62d992m2xi6jb5lybjc5zn1h3hv1m01av";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; map (p: p.gopkg) [
|
||||||
gopkgs."golang.org".x.crypto.ssh.agent
|
gopkgs."golang.org".x.crypto.ssh.agent
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "go.opencensus.io";
|
path = "go.opencensus.io";
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "https://github.com/census-instrumentation/opencensus-go";
|
url = "https://github.com/census-instrumentation/opencensus-go";
|
||||||
rev = "643eada29081047b355cfaa1ceb9bc307a10423c";
|
rev = "643eada29081047b355cfaa1ceb9bc307a10423c";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; map (p: p.gopkg) [
|
||||||
gopkgs."github.com".hashicorp.golang-lru.simplelru
|
gopkgs."github.com".hashicorp.golang-lru.simplelru
|
||||||
gopkgs."github.com".golang.groupcache.lru
|
gopkgs."github.com".golang.groupcache.lru
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "golang.org/x/crypto";
|
path = "golang.org/x/crypto";
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "https://go.googlesource.com/crypto";
|
url = "https://go.googlesource.com/crypto";
|
||||||
rev = "e9b2fee46413994441b28dfca259d911d963dfed";
|
rev = "e9b2fee46413994441b28dfca259d911d963dfed";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; [
|
deps = with depot.third_party; [
|
||||||
gopkgs."golang.org".x.sys.unix.gopkg
|
gopkgs."golang.org".x.sys.unix.gopkg
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "golang.org/x/net";
|
path = "golang.org/x/net";
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "https://go.googlesource.com/net";
|
url = "https://go.googlesource.com/net";
|
||||||
rev = "c0dbc17a35534bf2e581d7a942408dc936316da4";
|
rev = "c0dbc17a35534bf2e581d7a942408dc936316da4";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; [
|
deps = with depot.third_party; [
|
||||||
gopkgs."golang.org".x.text.secure.bidirule.gopkg
|
gopkgs."golang.org".x.text.secure.bidirule.gopkg
|
||||||
gopkgs."golang.org".x.text.unicode.bidi.gopkg
|
gopkgs."golang.org".x.text.unicode.bidi.gopkg
|
||||||
gopkgs."golang.org".x.text.unicode.norm.gopkg
|
gopkgs."golang.org".x.text.unicode.norm.gopkg
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "golang.org/x/oauth2";
|
path = "golang.org/x/oauth2";
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "https://go.googlesource.com/oauth2";
|
url = "https://go.googlesource.com/oauth2";
|
||||||
rev = "858c2ad4c8b6c5d10852cb89079f6ca1c7309787";
|
rev = "858c2ad4c8b6c5d10852cb89079f6ca1c7309787";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; map (p: p.gopkg) [
|
||||||
gopkgs."golang.org".x.net.context.ctxhttp
|
gopkgs."golang.org".x.net.context.ctxhttp
|
||||||
gopkgs."cloud.google.com".go.compute.metadata
|
gopkgs."cloud.google.com".go.compute.metadata
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "golang.org/x/sys";
|
path = "golang.org/x/sys";
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "https://go.googlesource.com/sys";
|
url = "https://go.googlesource.com/sys";
|
||||||
|
|
|
@ -1,12 +1,9 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "golang.org/x/text";
|
path = "golang.org/x/text";
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "https://go.googlesource.com/text";
|
url = "https://go.googlesource.com/text";
|
||||||
rev = "cbf43d21aaebfdfeb81d91a5f444d13a3046e686";
|
rev = "cbf43d21aaebfdfeb81d91a5f444d13a3046e686";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; [
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "golang.org/x/time";
|
path = "golang.org/x/time";
|
||||||
|
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "google.golang.org/api";
|
path = "google.golang.org/api";
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "https://code.googlesource.com/google-api-go-client";
|
url = "https://code.googlesource.com/google-api-go-client";
|
||||||
rev = "8b4e46d953bd748a9ff098644a42389b3d8dab41";
|
rev = "8b4e46d953bd748a9ff098644a42389b3d8dab41";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; map (p: p.gopkg) [
|
||||||
gopkgs."github.com".googleapis.gax-go.v2
|
gopkgs."github.com".googleapis.gax-go.v2
|
||||||
gopkgs."golang.org".x.oauth2.google
|
gopkgs."golang.org".x.oauth2.google
|
||||||
gopkgs."golang.org".x.oauth2
|
gopkgs."golang.org".x.oauth2
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "google.golang.org/genproto";
|
path = "google.golang.org/genproto";
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "https://github.com/google/go-genproto";
|
url = "https://github.com/google/go-genproto";
|
||||||
rev = "0243a4be9c8f1264d238fdc2895620b4d9baf9e1";
|
rev = "0243a4be9c8f1264d238fdc2895620b4d9baf9e1";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; [
|
deps = with depot.third_party; [
|
||||||
gopkgs."github.com".golang.protobuf.proto.gopkg
|
gopkgs."github.com".golang.protobuf.proto.gopkg
|
||||||
gopkgs."github.com".golang.protobuf.ptypes.any.gopkg
|
gopkgs."github.com".golang.protobuf.ptypes.any.gopkg
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "google.golang.org/grpc";
|
path = "google.golang.org/grpc";
|
||||||
src = builtins.fetchGit {
|
src = builtins.fetchGit {
|
||||||
url = "https://github.com/grpc/grpc-go";
|
url = "https://github.com/grpc/grpc-go";
|
||||||
rev = "085c980048876e2735d4aba8f0d5bca4d7acaaa5";
|
rev = "085c980048876e2735d4aba8f0d5bca4d7acaaa5";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; map (p: p.gopkg) [
|
||||||
gopkgs."golang.org".x.net.trace
|
gopkgs."golang.org".x.net.trace
|
||||||
gopkgs."golang.org".x.net.http2
|
gopkgs."golang.org".x.net.http2
|
||||||
gopkgs."golang.org".x.net.http2.hpack
|
gopkgs."golang.org".x.net.http2.hpack
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.nix.buildGo.external {
|
||||||
path = "googlemaps.github.io/maps";
|
path = "googlemaps.github.io/maps";
|
||||||
|
|
||||||
src = pkgs.third_party.fetchFromGitHub {
|
src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "googlemaps";
|
owner = "googlemaps";
|
||||||
repo = "google-maps-services-go";
|
repo = "google-maps-services-go";
|
||||||
rev = "a46d9fca56ac82caa79408b2417ea93a75e3b986";
|
rev = "a46d9fca56ac82caa79408b2417ea93a75e3b986";
|
||||||
sha256 = "1zpl85yd3m417060isdlhxzakqkf4f59jgpz3kcjp2i0mkrskkjs";
|
sha256 = "1zpl85yd3m417060isdlhxzakqkf4f59jgpz3kcjp2i0mkrskkjs";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; map (p: p.gopkg) [
|
||||||
gopkgs."github.com".google.uuid
|
gopkgs."github.com".google.uuid
|
||||||
gopkgs."golang.org".x.time.rate
|
gopkgs."golang.org".x.time.rate
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "gopkg.in/src-d/go-billy.v4";
|
path = "gopkg.in/src-d/go-billy.v4";
|
||||||
|
|
||||||
src = pkgs.third_party.fetchFromGitHub {
|
src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "src-d";
|
owner = "src-d";
|
||||||
repo = "go-billy";
|
repo = "go-billy";
|
||||||
rev = "fd409ff12f33d0d60af0ce0abeb8d93df360af49";
|
rev = "fd409ff12f33d0d60af0ce0abeb8d93df360af49";
|
||||||
sha256 = "1j0pl6ggzmd2lrqj71vmsnl6cqm43145h7yg6sy3j5n7hhd592qv";
|
sha256 = "1j0pl6ggzmd2lrqj71vmsnl6cqm43145h7yg6sy3j5n7hhd592qv";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; map (p: p.gopkg) [
|
||||||
gopkgs."golang.org".x.sys.unix
|
gopkgs."golang.org".x.sys.unix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,18 +1,18 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
# .v4 is used throughout the codebase and I can't be bothered to do
|
# .v4 is used throughout the codebase and I can't be bothered to do
|
||||||
# anything else about it other than using that package path here.
|
# anything else about it other than using that package path here.
|
||||||
path = "gopkg.in/src-d/go-git.v4";
|
path = "gopkg.in/src-d/go-git.v4";
|
||||||
|
|
||||||
src = pkgs.third_party.fetchFromGitHub {
|
src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "src-d";
|
owner = "src-d";
|
||||||
repo = "go-git";
|
repo = "go-git";
|
||||||
rev = "1a7db85bca7027d90afdb5ce711622aaac9feaed";
|
rev = "1a7db85bca7027d90afdb5ce711622aaac9feaed";
|
||||||
sha256 = "08jl4ljrzzil7c3qcl2y1859nhpgw9ixxy1g40ff7kmq989yhs6v";
|
sha256 = "08jl4ljrzzil7c3qcl2y1859nhpgw9ixxy1g40ff7kmq989yhs6v";
|
||||||
};
|
};
|
||||||
|
|
||||||
deps = with pkgs.third_party; map (p: p.gopkg) [
|
deps = with depot.third_party; map (p: p.gopkg) [
|
||||||
gopkgs."github.com".emirpasic.gods.trees.binaryheap
|
gopkgs."github.com".emirpasic.gods.trees.binaryheap
|
||||||
gopkgs."github.com".jbenet.go-context.io
|
gopkgs."github.com".jbenet.go-context.io
|
||||||
gopkgs."github.com".kevinburke.ssh_config
|
gopkgs."github.com".kevinburke.ssh_config
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.buildGo.external {
|
depot.buildGo.external {
|
||||||
path = "gopkg.in/warnings.v0";
|
path = "gopkg.in/warnings.v0";
|
||||||
|
|
||||||
src = pkgs.third_party.fetchFromGitHub {
|
src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "go-warnings";
|
owner = "go-warnings";
|
||||||
repo = "warnings";
|
repo = "warnings";
|
||||||
rev = "27b9fabbdaf131d2169ec3ff7db8ffc4d839635e";
|
rev = "27b9fabbdaf131d2169ec3ff7db8ffc4d839635e";
|
||||||
|
|
6
third_party/guile/default.nix
vendored
6
third_party/guile/default.nix
vendored
|
@ -1,11 +1,11 @@
|
||||||
# Override Guile to version 3.0.0
|
# Override Guile to version 3.0.0
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.third_party.originals.guile.overrideAttrs(old: rec {
|
depot.third_party.originals.guile.overrideAttrs(old: rec {
|
||||||
name = "guile-${version}";
|
name = "guile-${version}";
|
||||||
version = "3.0.0";
|
version = "3.0.0";
|
||||||
|
|
||||||
src = pkgs.third_party.fetchurl {
|
src = depot.third_party.fetchurl {
|
||||||
url = "mirror://gnu/guile/${name}.tar.xz";
|
url = "mirror://gnu/guile/${name}.tar.xz";
|
||||||
sha256 = "0x8ca6q1qdmk29lh12gj6ngvgn7kp79w42rxfgwrpxm9jmjqs4y9";
|
sha256 = "0x8ca6q1qdmk29lh12gj6ngvgn7kp79w42rxfgwrpxm9jmjqs4y9";
|
||||||
};
|
};
|
||||||
|
|
2
third_party/lieer/default.nix
vendored
2
third_party/lieer/default.nix
vendored
|
@ -17,7 +17,7 @@
|
||||||
project ? "tazjins-infrastructure"
|
project ? "tazjins-infrastructure"
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with pkgs.third_party;
|
with pkgs;
|
||||||
|
|
||||||
let
|
let
|
||||||
authPatch = runCommand "client_secret.patch" {} ''
|
authPatch = runCommand "client_secret.patch" {} ''
|
||||||
|
|
4
third_party/lisp/alexandria/default.nix
vendored
4
third_party/lisp/alexandria/default.nix
vendored
|
@ -2,9 +2,9 @@
|
||||||
# pretty much everything depends on:
|
# pretty much everything depends on:
|
||||||
#
|
#
|
||||||
# Imported from https://common-lisp.net/project/alexandria/
|
# Imported from https://common-lisp.net/project/alexandria/
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.nix.buildLisp.library {
|
depot.nix.buildLisp.library {
|
||||||
name = "alexandria";
|
name = "alexandria";
|
||||||
srcs = [
|
srcs = [
|
||||||
./package.lisp
|
./package.lisp
|
||||||
|
|
4
third_party/lisp/asdf-flv/default.nix
vendored
4
third_party/lisp/asdf-flv/default.nix
vendored
|
@ -1,7 +1,7 @@
|
||||||
# Imported from https://github.com/didierverna/asdf-flv
|
# Imported from https://github.com/didierverna/asdf-flv
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
with pkgs.nix;
|
with depot.nix;
|
||||||
buildLisp.library {
|
buildLisp.library {
|
||||||
name = "asdf-flv";
|
name = "asdf-flv";
|
||||||
deps = [ (buildLisp.bundled "asdf") ];
|
deps = [ (buildLisp.bundled "asdf") ];
|
||||||
|
|
6
third_party/lisp/babel.nix
vendored
6
third_party/lisp/babel.nix
vendored
|
@ -1,13 +1,13 @@
|
||||||
# Babel is an encoding conversion library for Common Lisp.
|
# Babel is an encoding conversion library for Common Lisp.
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = builtins.fetchGit {
|
let src = builtins.fetchGit {
|
||||||
url = "https://github.com/cl-babel/babel.git";
|
url = "https://github.com/cl-babel/babel.git";
|
||||||
rev = "ec9a17cdbdba3c1dd39609fc7961cfb3f0aa260e";
|
rev = "ec9a17cdbdba3c1dd39609fc7961cfb3f0aa260e";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "babel";
|
name = "babel";
|
||||||
deps = [ pkgs.third_party.lisp.alexandria ];
|
deps = [ depot.third_party.lisp.alexandria ];
|
||||||
|
|
||||||
srcs = map (f: src + ("/src/" + f)) [
|
srcs = map (f: src + ("/src/" + f)) [
|
||||||
"packages.lisp"
|
"packages.lisp"
|
||||||
|
|
6
third_party/lisp/bordeaux-threads.nix
vendored
6
third_party/lisp/bordeaux-threads.nix
vendored
|
@ -1,14 +1,14 @@
|
||||||
# This library is meant to make writing portable multi-threaded apps
|
# This library is meant to make writing portable multi-threaded apps
|
||||||
# in Common Lisp simple.
|
# in Common Lisp simple.
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = builtins.fetchGit {
|
let src = builtins.fetchGit {
|
||||||
url = "https://github.com/sionescu/bordeaux-threads.git";
|
url = "https://github.com/sionescu/bordeaux-threads.git";
|
||||||
rev = "499b6d3f0ce635417d6096acf0a671d8bf3f6e5f";
|
rev = "499b6d3f0ce635417d6096acf0a671d8bf3f6e5f";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "bordeaux-threads";
|
name = "bordeaux-threads";
|
||||||
deps = [ pkgs.third_party.lisp.alexandria ];
|
deps = [ depot.third_party.lisp.alexandria ];
|
||||||
|
|
||||||
srcs = map (f: src + ("/src/" + f)) [
|
srcs = map (f: src + ("/src/" + f)) [
|
||||||
"pkgdcl.lisp"
|
"pkgdcl.lisp"
|
||||||
|
|
6
third_party/lisp/cffi.nix
vendored
6
third_party/lisp/cffi.nix
vendored
|
@ -1,14 +1,14 @@
|
||||||
# CFFI purports to be the Common Foreign Function Interface.
|
# CFFI purports to be the Common Foreign Function Interface.
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
with pkgs.nix;
|
with depot.nix;
|
||||||
let src = builtins.fetchGit {
|
let src = builtins.fetchGit {
|
||||||
url = "https://github.com/cffi/cffi.git";
|
url = "https://github.com/cffi/cffi.git";
|
||||||
rev = "5e838bf46d0089c43ebd3ea014a207c403e29c61";
|
rev = "5e838bf46d0089c43ebd3ea014a207c403e29c61";
|
||||||
};
|
};
|
||||||
in buildLisp.library {
|
in buildLisp.library {
|
||||||
name = "cffi";
|
name = "cffi";
|
||||||
deps = with pkgs.third_party.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
alexandria
|
alexandria
|
||||||
babel
|
babel
|
||||||
trivial-features
|
trivial-features
|
||||||
|
|
6
third_party/lisp/chipz.nix
vendored
6
third_party/lisp/chipz.nix
vendored
|
@ -1,9 +1,9 @@
|
||||||
# Common Lisp library for decompressing deflate, zlib, gzip, and bzip2 data
|
# Common Lisp library for decompressing deflate, zlib, gzip, and bzip2 data
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
with pkgs.nix;
|
with depot.nix;
|
||||||
|
|
||||||
let src = pkgs.third_party.fetchFromGitHub {
|
let src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "froydnj";
|
owner = "froydnj";
|
||||||
repo = "chipz";
|
repo = "chipz";
|
||||||
rev = "75dfbc660a5a28161c57f115adf74c8a926bfc4d";
|
rev = "75dfbc660a5a28161c57f115adf74c8a926bfc4d";
|
||||||
|
|
8
third_party/lisp/chunga.nix
vendored
8
third_party/lisp/chunga.nix
vendored
|
@ -1,15 +1,15 @@
|
||||||
# Portable chunked streams for Common Lisp
|
# Portable chunked streams for Common Lisp
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = pkgs.third_party.fetchFromGitHub {
|
let src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "edicl";
|
owner = "edicl";
|
||||||
repo = "chunga";
|
repo = "chunga";
|
||||||
rev = "16330852d01dfde4dd97dee7cd985a88ea571e7e";
|
rev = "16330852d01dfde4dd97dee7cd985a88ea571e7e";
|
||||||
sha256 = "0jzn3nyb3f22gm983rfk99smqs3mhb9ivjmasvhq9qla5cl9pyhd";
|
sha256 = "0jzn3nyb3f22gm983rfk99smqs3mhb9ivjmasvhq9qla5cl9pyhd";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "chunga";
|
name = "chunga";
|
||||||
deps = with pkgs.third_party.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
trivial-gray-streams
|
trivial-gray-streams
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
6
third_party/lisp/cl-ansi-text.nix
vendored
6
third_party/lisp/cl-ansi-text.nix
vendored
|
@ -1,13 +1,13 @@
|
||||||
# Enables ANSI colors for printing.
|
# Enables ANSI colors for printing.
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = builtins.fetchGit {
|
let src = builtins.fetchGit {
|
||||||
url = "https://github.com/pnathan/cl-ansi-text.git";
|
url = "https://github.com/pnathan/cl-ansi-text.git";
|
||||||
rev = "257a5f19a2dc92d22f8fd772c0a78923b99b36a8";
|
rev = "257a5f19a2dc92d22f8fd772c0a78923b99b36a8";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "cl-ansi-text";
|
name = "cl-ansi-text";
|
||||||
deps = with pkgs.third_party.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
alexandria
|
alexandria
|
||||||
cl-colors2
|
cl-colors2
|
||||||
];
|
];
|
||||||
|
|
4
third_party/lisp/cl-base64.nix
vendored
4
third_party/lisp/cl-base64.nix
vendored
|
@ -1,11 +1,11 @@
|
||||||
# Base64 encoding for Common Lisp
|
# Base64 encoding for Common Lisp
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = builtins.fetchGit {
|
let src = builtins.fetchGit {
|
||||||
url = "http://git.kpe.io/cl-base64.git";
|
url = "http://git.kpe.io/cl-base64.git";
|
||||||
rev = "fc62a5342445d4ec1dd44e95f7dc513473a8c89a";
|
rev = "fc62a5342445d4ec1dd44e95f7dc513473a8c89a";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "cl-base64";
|
name = "cl-base64";
|
||||||
srcs = [
|
srcs = [
|
||||||
(src + "/package.lisp")
|
(src + "/package.lisp")
|
||||||
|
|
6
third_party/lisp/cl-colors2.nix
vendored
6
third_party/lisp/cl-colors2.nix
vendored
|
@ -1,13 +1,13 @@
|
||||||
|
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = builtins.fetchGit {
|
let src = builtins.fetchGit {
|
||||||
url = "https://notabug.org/cage/cl-colors2.git";
|
url = "https://notabug.org/cage/cl-colors2.git";
|
||||||
rev = "795aedee593b095fecde574bd999b520dd03ed24";
|
rev = "795aedee593b095fecde574bd999b520dd03ed24";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "cl-colors2";
|
name = "cl-colors2";
|
||||||
deps = with pkgs.third_party.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
alexandria
|
alexandria
|
||||||
cl-ppcre
|
cl-ppcre
|
||||||
];
|
];
|
||||||
|
|
8
third_party/lisp/cl-fad.nix
vendored
8
third_party/lisp/cl-fad.nix
vendored
|
@ -1,9 +1,9 @@
|
||||||
# Portable pathname library
|
# Portable pathname library
|
||||||
{ pkgs, ...}:
|
{ depot, ...}:
|
||||||
|
|
||||||
with pkgs.nix;
|
with depot.nix;
|
||||||
|
|
||||||
let src = pkgs.third_party.fetchFromGitHub {
|
let src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "edicl";
|
owner = "edicl";
|
||||||
repo = "cl-fad";
|
repo = "cl-fad";
|
||||||
rev = "c13d81c4bd9ba3a172631fd05dd213ab90e7d4cb";
|
rev = "c13d81c4bd9ba3a172631fd05dd213ab90e7d4cb";
|
||||||
|
@ -12,7 +12,7 @@ let src = pkgs.third_party.fetchFromGitHub {
|
||||||
in buildLisp.library {
|
in buildLisp.library {
|
||||||
name = "cl-fad";
|
name = "cl-fad";
|
||||||
|
|
||||||
deps = with pkgs.third_party.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
alexandria
|
alexandria
|
||||||
bordeaux-threads
|
bordeaux-threads
|
||||||
(buildLisp.bundled "sb-posix")
|
(buildLisp.bundled "sb-posix")
|
||||||
|
|
6
third_party/lisp/cl-json.nix
vendored
6
third_party/lisp/cl-json.nix
vendored
|
@ -1,8 +1,8 @@
|
||||||
# JSON encoder & decoder
|
# JSON encoder & decoder
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
with pkgs.nix;
|
with depot.nix;
|
||||||
let src = pkgs.third_party.fetchFromGitHub {
|
let src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "hankhero";
|
owner = "hankhero";
|
||||||
repo = "cl-json";
|
repo = "cl-json";
|
||||||
rev = "6dfebb9540bfc3cc33582d0c03c9ec27cb913e79";
|
rev = "6dfebb9540bfc3cc33582d0c03c9ec27cb913e79";
|
||||||
|
|
8
third_party/lisp/cl-plus-ssl.nix
vendored
8
third_party/lisp/cl-plus-ssl.nix
vendored
|
@ -1,7 +1,7 @@
|
||||||
# Common Lisp bindings to OpenSSL
|
# Common Lisp bindings to OpenSSL
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
with pkgs.nix;
|
with depot.nix;
|
||||||
|
|
||||||
let src = builtins.fetchGit {
|
let src = builtins.fetchGit {
|
||||||
url = "https://github.com/cl-plus-ssl/cl-plus-ssl.git";
|
url = "https://github.com/cl-plus-ssl/cl-plus-ssl.git";
|
||||||
|
@ -9,7 +9,7 @@ let src = builtins.fetchGit {
|
||||||
};
|
};
|
||||||
in buildLisp.library {
|
in buildLisp.library {
|
||||||
name = "cl-plus-ssl";
|
name = "cl-plus-ssl";
|
||||||
deps = with pkgs.third_party.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
alexandria
|
alexandria
|
||||||
bordeaux-threads
|
bordeaux-threads
|
||||||
cffi
|
cffi
|
||||||
|
@ -21,7 +21,7 @@ in buildLisp.library {
|
||||||
(buildLisp.bundled "sb-posix")
|
(buildLisp.bundled "sb-posix")
|
||||||
];
|
];
|
||||||
|
|
||||||
native = [ pkgs.third_party.openssl ];
|
native = [ depot.third_party.openssl ];
|
||||||
|
|
||||||
srcs = map (f: src + ("/src/" + f)) [
|
srcs = map (f: src + ("/src/" + f)) [
|
||||||
"package.lisp"
|
"package.lisp"
|
||||||
|
|
4
third_party/lisp/cl-ppcre.nix
vendored
4
third_party/lisp/cl-ppcre.nix
vendored
|
@ -1,11 +1,11 @@
|
||||||
# cl-ppcre is a Common Lisp regular expression library.
|
# cl-ppcre is a Common Lisp regular expression library.
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = builtins.fetchGit {
|
let src = builtins.fetchGit {
|
||||||
url = "https://github.com/edicl/cl-ppcre";
|
url = "https://github.com/edicl/cl-ppcre";
|
||||||
rev = "1ca0cd9ca0d161acd49c463d6cb5fff897596e2f";
|
rev = "1ca0cd9ca0d161acd49c463d6cb5fff897596e2f";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "cl-ppcre";
|
name = "cl-ppcre";
|
||||||
|
|
||||||
srcs = map (f: src + ("/" + f)) [
|
srcs = map (f: src + ("/" + f)) [
|
||||||
|
|
8
third_party/lisp/cl-prevalence.nix
vendored
8
third_party/lisp/cl-prevalence.nix
vendored
|
@ -1,17 +1,17 @@
|
||||||
# cl-prevalence is an implementation of object prevalence for CL (i.e.
|
# cl-prevalence is an implementation of object prevalence for CL (i.e.
|
||||||
# an in-memory database)
|
# an in-memory database)
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = pkgs.third_party.fetchFromGitHub {
|
let src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "40ants";
|
owner = "40ants";
|
||||||
repo = "cl-prevalence";
|
repo = "cl-prevalence";
|
||||||
rev = "da3ed6c4594b1c2fca90c178c1993973c4bf16c9";
|
rev = "da3ed6c4594b1c2fca90c178c1993973c4bf16c9";
|
||||||
sha256 = "0bq905hv1626dl6b7s0zn4lbdh608g1pxaljl1fda6pwp9hmj95a";
|
sha256 = "0bq905hv1626dl6b7s0zn4lbdh608g1pxaljl1fda6pwp9hmj95a";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "cl-prevalence";
|
name = "cl-prevalence";
|
||||||
|
|
||||||
deps = with pkgs.third_party.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
s-xml
|
s-xml
|
||||||
s-sysdeps
|
s-sysdeps
|
||||||
];
|
];
|
||||||
|
|
6
third_party/lisp/closer-mop.nix
vendored
6
third_party/lisp/closer-mop.nix
vendored
|
@ -1,15 +1,15 @@
|
||||||
# Closer to MOP is a compatibility layer that rectifies many of the
|
# Closer to MOP is a compatibility layer that rectifies many of the
|
||||||
# absent or incorrect CLOS MOP features across a broad range of Common
|
# absent or incorrect CLOS MOP features across a broad range of Common
|
||||||
# Lisp implementations
|
# Lisp implementations
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = pkgs.third_party.fetchFromGitHub {
|
let src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "pcostanza";
|
owner = "pcostanza";
|
||||||
repo = "closer-mop";
|
repo = "closer-mop";
|
||||||
rev = "e1d1430524086709a7ea8e0eede6849aa29d6276";
|
rev = "e1d1430524086709a7ea8e0eede6849aa29d6276";
|
||||||
sha256 = "1zda6927379pmrsxpg29jnj6azjpa2pms9h7n1iwhy6q9d3w06rf";
|
sha256 = "1zda6927379pmrsxpg29jnj6azjpa2pms9h7n1iwhy6q9d3w06rf";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "closer-mop";
|
name = "closer-mop";
|
||||||
|
|
||||||
srcs = [
|
srcs = [
|
||||||
|
|
8
third_party/lisp/drakma.nix
vendored
8
third_party/lisp/drakma.nix
vendored
|
@ -1,9 +1,9 @@
|
||||||
# Drakma is an HTTP client for Common Lisp.
|
# Drakma is an HTTP client for Common Lisp.
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
with pkgs.nix;
|
with depot.nix;
|
||||||
|
|
||||||
let src = pkgs.third_party.fetchFromGitHub {
|
let src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "edicl";
|
owner = "edicl";
|
||||||
repo = "drakma";
|
repo = "drakma";
|
||||||
rev = "87feb02bef00b11a753d5fb21a5fec526b0d0bbb";
|
rev = "87feb02bef00b11a753d5fb21a5fec526b0d0bbb";
|
||||||
|
@ -11,7 +11,7 @@ let src = pkgs.third_party.fetchFromGitHub {
|
||||||
};
|
};
|
||||||
in buildLisp.library {
|
in buildLisp.library {
|
||||||
name = "drakma";
|
name = "drakma";
|
||||||
deps = with pkgs.third_party.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
chipz
|
chipz
|
||||||
chunga
|
chunga
|
||||||
cl-base64
|
cl-base64
|
||||||
|
|
6
third_party/lisp/fiveam/default.nix
vendored
6
third_party/lisp/fiveam/default.nix
vendored
|
@ -2,12 +2,12 @@
|
||||||
#
|
#
|
||||||
# Imported from https://github.com/sionescu/fiveam.git
|
# Imported from https://github.com/sionescu/fiveam.git
|
||||||
|
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.nix.buildLisp.library {
|
depot.nix.buildLisp.library {
|
||||||
name = "fiveam";
|
name = "fiveam";
|
||||||
|
|
||||||
deps = with pkgs.third_party.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
alexandria
|
alexandria
|
||||||
asdf-flv
|
asdf-flv
|
||||||
trivial-backtrace
|
trivial-backtrace
|
||||||
|
|
6
third_party/lisp/flexi-streams.nix
vendored
6
third_party/lisp/flexi-streams.nix
vendored
|
@ -1,13 +1,13 @@
|
||||||
# Flexible bivalent streams for Common Lisp
|
# Flexible bivalent streams for Common Lisp
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = builtins.fetchGit {
|
let src = builtins.fetchGit {
|
||||||
url = "https://github.com/edicl/flexi-streams.git";
|
url = "https://github.com/edicl/flexi-streams.git";
|
||||||
rev = "0fd872ae32022e834ef861a67d86879cf33a6b64";
|
rev = "0fd872ae32022e834ef861a67d86879cf33a6b64";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "flexi-streams";
|
name = "flexi-streams";
|
||||||
deps = [ pkgs.third_party.lisp.trivial-gray-streams ];
|
deps = [ depot.third_party.lisp.trivial-gray-streams ];
|
||||||
|
|
||||||
srcs = map (f: src + ("/" + f)) [
|
srcs = map (f: src + ("/" + f)) [
|
||||||
"packages.lisp"
|
"packages.lisp"
|
||||||
|
|
10
third_party/lisp/hunchentoot.nix
vendored
10
third_party/lisp/hunchentoot.nix
vendored
|
@ -1,14 +1,14 @@
|
||||||
# Hunchentoot is a web framework for Common Lisp.
|
# Hunchentoot is a web framework for Common Lisp.
|
||||||
{ pkgs, ...}:
|
{ depot, ...}:
|
||||||
|
|
||||||
let
|
let
|
||||||
src = pkgs.third_party.fetchFromGitHub {
|
src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "edicl";
|
owner = "edicl";
|
||||||
repo = "hunchentoot";
|
repo = "hunchentoot";
|
||||||
rev = "585b45b6b873f2da421fdf456b61860ab5868207";
|
rev = "585b45b6b873f2da421fdf456b61860ab5868207";
|
||||||
sha256 = "13nazwix067mdclq9vgjhsi2vpr57a8dz51dd5d3h99ccsq4mik5";
|
sha256 = "13nazwix067mdclq9vgjhsi2vpr57a8dz51dd5d3h99ccsq4mik5";
|
||||||
};
|
};
|
||||||
url-rewrite = pkgs.nix.buildLisp.library {
|
url-rewrite = depot.nix.buildLisp.library {
|
||||||
name = "url-rewrite";
|
name = "url-rewrite";
|
||||||
|
|
||||||
srcs = map (f: src + ("/url-rewrite/" + f)) [
|
srcs = map (f: src + ("/url-rewrite/" + f)) [
|
||||||
|
@ -19,10 +19,10 @@ let
|
||||||
"url-rewrite.lisp"
|
"url-rewrite.lisp"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "hunchentoot";
|
name = "hunchentoot";
|
||||||
|
|
||||||
deps = with pkgs.third_party.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
alexandria
|
alexandria
|
||||||
bordeaux-threads
|
bordeaux-threads
|
||||||
chunga
|
chunga
|
||||||
|
|
4
third_party/lisp/iterate.nix
vendored
4
third_party/lisp/iterate.nix
vendored
|
@ -1,12 +1,12 @@
|
||||||
# iterate is an iteration construct for Common Lisp, similar to the
|
# iterate is an iteration construct for Common Lisp, similar to the
|
||||||
# LOOP macro.
|
# LOOP macro.
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = builtins.fetchGit {
|
let src = builtins.fetchGit {
|
||||||
url = "https://gitlab.common-lisp.net/iterate/iterate.git";
|
url = "https://gitlab.common-lisp.net/iterate/iterate.git";
|
||||||
rev = "a1c47b2b74f6c96149d717be90c07a1b273ced69";
|
rev = "a1c47b2b74f6c96149d717be90c07a1b273ced69";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "iterate";
|
name = "iterate";
|
||||||
srcs = [
|
srcs = [
|
||||||
"${src}/package.lisp"
|
"${src}/package.lisp"
|
||||||
|
|
8
third_party/lisp/lisp-binary.nix
vendored
8
third_party/lisp/lisp-binary.nix
vendored
|
@ -1,16 +1,16 @@
|
||||||
# A library to easily read and write complex binary formats.
|
# A library to easily read and write complex binary formats.
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = pkgs.third_party.fetchFromGitHub {
|
let src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "j3pic";
|
owner = "j3pic";
|
||||||
repo = "lisp-binary";
|
repo = "lisp-binary";
|
||||||
rev = "1aefc8618b7734f68697ddf59bc93cb8522aa0bf";
|
rev = "1aefc8618b7734f68697ddf59bc93cb8522aa0bf";
|
||||||
sha256 = "1hflzn3mjp32jz9fxx9wayp3c3x58s77cgjfbs06nrynqkv0c6df";
|
sha256 = "1hflzn3mjp32jz9fxx9wayp3c3x58s77cgjfbs06nrynqkv0c6df";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "lisp-binary";
|
name = "lisp-binary";
|
||||||
|
|
||||||
deps = with pkgs.third_party.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
cffi
|
cffi
|
||||||
quasiquote_2
|
quasiquote_2
|
||||||
moptilities
|
moptilities
|
||||||
|
|
8
third_party/lisp/local-time.nix
vendored
8
third_party/lisp/local-time.nix
vendored
|
@ -1,15 +1,15 @@
|
||||||
# Library for manipulating dates & times
|
# Library for manipulating dates & times
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = pkgs.third_party.fetchFromGitHub {
|
let src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "dlowe-net";
|
owner = "dlowe-net";
|
||||||
repo = "local-time";
|
repo = "local-time";
|
||||||
rev = "dc54f61415c76ee755a6f69d4154a3a282f2789f";
|
rev = "dc54f61415c76ee755a6f69d4154a3a282f2789f";
|
||||||
sha256 = "1l9v07ghx7g9p2gp003fki4j8bsa1w2gbm40qc41i94mdzikc0ry";
|
sha256 = "1l9v07ghx7g9p2gp003fki4j8bsa1w2gbm40qc41i94mdzikc0ry";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "local-time";
|
name = "local-time";
|
||||||
deps = [ pkgs.third_party.lisp.cl-fad ];
|
deps = [ depot.third_party.lisp.cl-fad ];
|
||||||
|
|
||||||
srcs = [
|
srcs = [
|
||||||
"${src}/src/package.lisp"
|
"${src}/src/package.lisp"
|
||||||
|
|
6
third_party/lisp/md5.nix
vendored
6
third_party/lisp/md5.nix
vendored
|
@ -1,9 +1,9 @@
|
||||||
# MD5 hash implementation
|
# MD5 hash implementation
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
with pkgs.nix;
|
with depot.nix;
|
||||||
|
|
||||||
let src = pkgs.third_party.fetchFromGitHub {
|
let src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "pmai";
|
owner = "pmai";
|
||||||
repo = "md5";
|
repo = "md5";
|
||||||
rev = "b1412600f60d526ee34a7ba1596ec483da7894ab";
|
rev = "b1412600f60d526ee34a7ba1596ec483da7894ab";
|
||||||
|
|
8
third_party/lisp/moptilities.nix
vendored
8
third_party/lisp/moptilities.nix
vendored
|
@ -1,14 +1,14 @@
|
||||||
# Compatibility layer for minor MOP implementation differences
|
# Compatibility layer for minor MOP implementation differences
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = pkgs.third_party.fetchFromGitHub {
|
let src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "gwkkwg";
|
owner = "gwkkwg";
|
||||||
repo = "moptilities";
|
repo = "moptilities";
|
||||||
rev = "a436f16b357c96b82397ec018ea469574c10dd41";
|
rev = "a436f16b357c96b82397ec018ea469574c10dd41";
|
||||||
sha256 = "1q12bqjbj47lx98yim1kfnnhgfhkl80102fkgp9pdqxg0fp6g5fc";
|
sha256 = "1q12bqjbj47lx98yim1kfnnhgfhkl80102fkgp9pdqxg0fp6g5fc";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "moptilities";
|
name = "moptilities";
|
||||||
deps = [ pkgs.third_party.lisp.closer-mop ];
|
deps = [ depot.third_party.lisp.closer-mop ];
|
||||||
srcs = [ "${src}/dev/moptilities.lisp" ];
|
srcs = [ "${src}/dev/moptilities.lisp" ];
|
||||||
}
|
}
|
||||||
|
|
4
third_party/lisp/puri.nix
vendored
4
third_party/lisp/puri.nix
vendored
|
@ -1,11 +1,11 @@
|
||||||
# Portable URI library
|
# Portable URI library
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = builtins.fetchGit {
|
let src = builtins.fetchGit {
|
||||||
url = "http://git.kpe.io/puri.git";
|
url = "http://git.kpe.io/puri.git";
|
||||||
rev = "ef5afb9e5286c8e952d4344f019c1a636a717b97";
|
rev = "ef5afb9e5286c8e952d4344f019c1a636a717b97";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "puri";
|
name = "puri";
|
||||||
srcs = [
|
srcs = [
|
||||||
(src + "/src.lisp")
|
(src + "/src.lisp")
|
||||||
|
|
6
third_party/lisp/quasiquote_2/default.nix
vendored
6
third_party/lisp/quasiquote_2/default.nix
vendored
|
@ -1,11 +1,11 @@
|
||||||
# Quasiquote more suitable for macros that define other macros
|
# Quasiquote more suitable for macros that define other macros
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.nix.buildLisp.library {
|
depot.nix.buildLisp.library {
|
||||||
name = "quasiquote-2.0";
|
name = "quasiquote-2.0";
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
pkgs.third_party.lisp.iterate
|
depot.third_party.lisp.iterate
|
||||||
];
|
];
|
||||||
|
|
||||||
srcs = [
|
srcs = [
|
||||||
|
|
6
third_party/lisp/rfc2388.nix
vendored
6
third_party/lisp/rfc2388.nix
vendored
|
@ -1,13 +1,13 @@
|
||||||
# Implementation of RFC2388 (multipart/form-data)
|
# Implementation of RFC2388 (multipart/form-data)
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = pkgs.third_party.fetchFromGitHub {
|
let src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "jdz";
|
owner = "jdz";
|
||||||
repo = "rfc2388";
|
repo = "rfc2388";
|
||||||
rev = "591bcf7e77f2c222c43953a80f8c297751dc0c4e";
|
rev = "591bcf7e77f2c222c43953a80f8c297751dc0c4e";
|
||||||
sha256 = "0phh5n3clhl9ji8jaxrajidn22d3f0aq87mlbfkkxlnx2pnw694k";
|
sha256 = "0phh5n3clhl9ji8jaxrajidn22d3f0aq87mlbfkkxlnx2pnw694k";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "rfc2388";
|
name = "rfc2388";
|
||||||
|
|
||||||
srcs = map (f: src + ("/" + f)) [
|
srcs = map (f: src + ("/" + f)) [
|
||||||
|
|
6
third_party/lisp/s-sysdeps.nix
vendored
6
third_party/lisp/s-sysdeps.nix
vendored
|
@ -1,13 +1,13 @@
|
||||||
# A Common Lisp abstraction layer over platform dependent functionality.
|
# A Common Lisp abstraction layer over platform dependent functionality.
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = pkgs.third_party.fetchFromGitHub {
|
let src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "svenvc";
|
owner = "svenvc";
|
||||||
repo = "s-sysdeps";
|
repo = "s-sysdeps";
|
||||||
rev = "d28246b5dffef9e73a0e0e6cfbc4e878006fe34d";
|
rev = "d28246b5dffef9e73a0e0e6cfbc4e878006fe34d";
|
||||||
sha256 = "14b69b81yrxmjlvmm3lfxk04x5v7hqz4fql121334wh72czznfh9";
|
sha256 = "14b69b81yrxmjlvmm3lfxk04x5v7hqz4fql121334wh72czznfh9";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "s-sysdeps";
|
name = "s-sysdeps";
|
||||||
|
|
||||||
srcs = [
|
srcs = [
|
||||||
|
|
4
third_party/lisp/s-xml/default.nix
vendored
4
third_party/lisp/s-xml/default.nix
vendored
|
@ -1,9 +1,9 @@
|
||||||
# XML serialiser for Common Lisp.
|
# XML serialiser for Common Lisp.
|
||||||
#
|
#
|
||||||
# This system was imported from a Quicklisp tarball at 's-xml-20150608'.
|
# This system was imported from a Quicklisp tarball at 's-xml-20150608'.
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.nix.buildLisp.library {
|
depot.nix.buildLisp.library {
|
||||||
name = "s-xml";
|
name = "s-xml";
|
||||||
|
|
||||||
srcs = [
|
srcs = [
|
||||||
|
|
4
third_party/lisp/split-sequence.nix
vendored
4
third_party/lisp/split-sequence.nix
vendored
|
@ -1,11 +1,11 @@
|
||||||
# split-sequence is a library for, well, splitting sequences apparently.
|
# split-sequence is a library for, well, splitting sequences apparently.
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = builtins.fetchGit {
|
let src = builtins.fetchGit {
|
||||||
url = "https://github.com/sharplispers/split-sequence.git";
|
url = "https://github.com/sharplispers/split-sequence.git";
|
||||||
rev = "41c0fc79a5a2871d16e5727969a8f699ef44d791";
|
rev = "41c0fc79a5a2871d16e5727969a8f699ef44d791";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "split-sequence";
|
name = "split-sequence";
|
||||||
srcs = map (f: src + ("/" + f)) [
|
srcs = map (f: src + ("/" + f)) [
|
||||||
"package.lisp"
|
"package.lisp"
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
# Imported from http://common-lisp.net/project/trivial-backtrace/trivial-backtrace.git
|
# Imported from http://common-lisp.net/project/trivial-backtrace/trivial-backtrace.git
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
pkgs.nix.buildLisp.library {
|
depot.nix.buildLisp.library {
|
||||||
name = "trivial-backtrace";
|
name = "trivial-backtrace";
|
||||||
# deps = with pkgs.third_party.lisp; [ asdf ];
|
|
||||||
|
|
||||||
srcs = [
|
srcs = [
|
||||||
./dev/packages.lisp
|
./dev/packages.lisp
|
||||||
|
|
4
third_party/lisp/trivial-features.nix
vendored
4
third_party/lisp/trivial-features.nix
vendored
|
@ -1,10 +1,10 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = builtins.fetchGit {
|
let src = builtins.fetchGit {
|
||||||
url = "https://github.com/trivial-features/trivial-features.git";
|
url = "https://github.com/trivial-features/trivial-features.git";
|
||||||
rev = "b78b2df5d75bdf8fdfc69f0deec0a187d9664b0b";
|
rev = "b78b2df5d75bdf8fdfc69f0deec0a187d9664b0b";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "trivial-features";
|
name = "trivial-features";
|
||||||
srcs = [
|
srcs = [
|
||||||
(src + "/src/tf-sbcl.lisp")
|
(src + "/src/tf-sbcl.lisp")
|
||||||
|
|
4
third_party/lisp/trivial-garbage.nix
vendored
4
third_party/lisp/trivial-garbage.nix
vendored
|
@ -1,12 +1,12 @@
|
||||||
# trivial-garbage provides a portable API to finalizers, weak
|
# trivial-garbage provides a portable API to finalizers, weak
|
||||||
# hash-tables and weak pointers
|
# hash-tables and weak pointers
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = builtins.fetchGit {
|
let src = builtins.fetchGit {
|
||||||
url = "https://github.com/trivial-garbage/trivial-garbage.git";
|
url = "https://github.com/trivial-garbage/trivial-garbage.git";
|
||||||
rev = "dbc8e35acb0176b9a14fdc1027f5ebea93435a84";
|
rev = "dbc8e35acb0176b9a14fdc1027f5ebea93435a84";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "trivial-garbage";
|
name = "trivial-garbage";
|
||||||
srcs = [ (src + "/trivial-garbage.lisp") ];
|
srcs = [ (src + "/trivial-garbage.lisp") ];
|
||||||
}
|
}
|
||||||
|
|
4
third_party/lisp/trivial-gray-streams.nix
vendored
4
third_party/lisp/trivial-gray-streams.nix
vendored
|
@ -1,11 +1,11 @@
|
||||||
# Portability library for CL gray streams.
|
# Portability library for CL gray streams.
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let src = builtins.fetchGit {
|
let src = builtins.fetchGit {
|
||||||
url = "https://github.com/trivial-gray-streams/trivial-gray-streams.git";
|
url = "https://github.com/trivial-gray-streams/trivial-gray-streams.git";
|
||||||
rev = "ebd59b1afed03b9dc8544320f8f432fdf92ab010";
|
rev = "ebd59b1afed03b9dc8544320f8f432fdf92ab010";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "trivial-gray-streams";
|
name = "trivial-gray-streams";
|
||||||
srcs = [
|
srcs = [
|
||||||
(src + "/package.lisp")
|
(src + "/package.lisp")
|
||||||
|
|
6
third_party/lisp/unix-opts.nix
vendored
6
third_party/lisp/unix-opts.nix
vendored
|
@ -1,14 +1,14 @@
|
||||||
# unix-opts is a portable command line argument parser
|
# unix-opts is a portable command line argument parser
|
||||||
{ pkgs, ...}:
|
{ depot, ...}:
|
||||||
|
|
||||||
let
|
let
|
||||||
src = pkgs.third_party.fetchFromGitHub {
|
src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "libre-man";
|
owner = "libre-man";
|
||||||
repo = "unix-opts";
|
repo = "unix-opts";
|
||||||
rev = "b805050b074bd860edd18cfc8776fdec666ec36e";
|
rev = "b805050b074bd860edd18cfc8776fdec666ec36e";
|
||||||
sha256 = "0j93dkc9f77wz1zfspm7q1scx6wwbm6jhk8vl2rm6bfd0n8scxla";
|
sha256 = "0j93dkc9f77wz1zfspm7q1scx6wwbm6jhk8vl2rm6bfd0n8scxla";
|
||||||
};
|
};
|
||||||
in pkgs.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "unix-opts";
|
name = "unix-opts";
|
||||||
|
|
||||||
srcs = [
|
srcs = [
|
||||||
|
|
8
third_party/lisp/usocket.nix
vendored
8
third_party/lisp/usocket.nix
vendored
|
@ -1,9 +1,9 @@
|
||||||
# Usocket is a portable socket library
|
# Usocket is a portable socket library
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
with pkgs.nix;
|
with depot.nix;
|
||||||
|
|
||||||
let src = pkgs.third_party.fetchFromGitHub {
|
let src = depot.third_party.fetchFromGitHub {
|
||||||
owner = "usocket";
|
owner = "usocket";
|
||||||
repo = "usocket";
|
repo = "usocket";
|
||||||
rev = "fdf4fd1e0051ce83340ccfbbc8a43a462bb19cf2";
|
rev = "fdf4fd1e0051ce83340ccfbbc8a43a462bb19cf2";
|
||||||
|
@ -11,7 +11,7 @@ let src = pkgs.third_party.fetchFromGitHub {
|
||||||
};
|
};
|
||||||
in buildLisp.library {
|
in buildLisp.library {
|
||||||
name = "usocket";
|
name = "usocket";
|
||||||
deps = with pkgs.third_party.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
(buildLisp.bundled "asdf")
|
(buildLisp.bundled "asdf")
|
||||||
(buildLisp.bundled "sb-bsd-sockets")
|
(buildLisp.bundled "sb-bsd-sockets")
|
||||||
split-sequence
|
split-sequence
|
||||||
|
|
4
third_party/naersk/default.nix
vendored
4
third_party/naersk/default.nix
vendored
|
@ -1,6 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ depot, ... }:
|
||||||
|
|
||||||
let inherit (pkgs.third_party) callPackage fetchFromGitHub;
|
let inherit (depot.third_party) callPackage fetchFromGitHub;
|
||||||
in callPackage (fetchFromGitHub {
|
in callPackage (fetchFromGitHub {
|
||||||
owner = "nmattia";
|
owner = "nmattia";
|
||||||
repo = "naersk";
|
repo = "naersk";
|
||||||
|
|
4
third_party/nixery/default.nix
vendored
4
third_party/nixery/default.nix
vendored
|
@ -2,14 +2,14 @@
|
||||||
# outside of this repository ...
|
# outside of this repository ...
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let src = pkgs.third_party.fetchFromGitHub {
|
let src = pkgs.fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = "nixery";
|
repo = "nixery";
|
||||||
rev = "4f6ce83f9296545d6c74321b37d18545764c8827";
|
rev = "4f6ce83f9296545d6c74321b37d18545764c8827";
|
||||||
sha256 = "19aiak1pss6vwm0fwn02827l5ir78fkqglfbdl2gchsyv3gps8bg";
|
sha256 = "19aiak1pss6vwm0fwn02827l5ir78fkqglfbdl2gchsyv3gps8bg";
|
||||||
};
|
};
|
||||||
in import src {
|
in import src {
|
||||||
pkgs = pkgs.third_party;
|
inherit pkgs;
|
||||||
preLaunch = ''
|
preLaunch = ''
|
||||||
export USER=root
|
export USER=root
|
||||||
cachix use tazjin
|
cachix use tazjin
|
||||||
|
|
2
third_party/notmuch/default.nix
vendored
2
third_party/notmuch/default.nix
vendored
|
@ -1,6 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
pkgs.third_party.originals.notmuch.overrideAttrs(old: {
|
pkgs.originals.notmuch.overrideAttrs(old: {
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
patches = [ ./dottime.patch ] ++ (if old ? patches then old.patches else []);
|
patches = [ ./dottime.patch ] ++ (if old ? patches then old.patches else []);
|
||||||
})
|
})
|
||||||
|
|
4
third_party/ormolu/default.nix
vendored
4
third_party/ormolu/default.nix
vendored
|
@ -1,8 +1,8 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
import (pkgs.third_party.fetchFromGitHub {
|
import (pkgs.fetchFromGitHub {
|
||||||
owner = "tweag";
|
owner = "tweag";
|
||||||
repo = "ormolu";
|
repo = "ormolu";
|
||||||
rev = "a7076c0f83e5c06ea9067b71171859fa2ba8afd9";
|
rev = "a7076c0f83e5c06ea9067b71171859fa2ba8afd9";
|
||||||
sha256 = "1p4n2ja4ciw3qfskn65ggpy37mvgf2sslxqmqn8s8jjarnqcyfny";
|
sha256 = "1p4n2ja4ciw3qfskn65ggpy37mvgf2sslxqmqn8s8jjarnqcyfny";
|
||||||
}) { pkgs = pkgs.third_party; }
|
}) { inherit pkgs; }
|
||||||
|
|
2
third_party/pounce/default.nix
vendored
2
third_party/pounce/default.nix
vendored
|
@ -4,7 +4,7 @@
|
||||||
# nixos-unstable.
|
# nixos-unstable.
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
with pkgs.third_party;
|
with pkgs;
|
||||||
|
|
||||||
originals.pounce.overrideAttrs(old: rec {
|
originals.pounce.overrideAttrs(old: rec {
|
||||||
version = "1.1";
|
version = "1.1";
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue