refactor(third_party): Consistent use of depot.third_party vs. pkgs
In preparation for the solution of b/108, we need to consistently use `depot.third_party` for packages that are only packed in the TVL depot and `pkgs` for things that come from nixpkgs. This commit cleans up a huge chunk of these uses in //third_party Change-Id: Ic382c0cdea7330a84d5f0b7d109c824ddceb94e7 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2912 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
8d4b2f3d54
commit
8361b82d0a
47 changed files with 111 additions and 111 deletions
4
third_party/buzz/default.nix
vendored
4
third_party/buzz/default.nix
vendored
|
@ -1,6 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
pkgs.naersk.buildPackage {
|
depot.third_party.naersk.buildPackage {
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "jonhoo";
|
owner = "jonhoo";
|
||||||
repo = "buzz";
|
repo = "buzz";
|
||||||
|
|
7
third_party/cgit/default.nix
vendored
7
third_party/cgit/default.nix
vendored
|
@ -1,9 +1,8 @@
|
||||||
{ depot, ... }:
|
{ depot, lib, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (depot.third_party) lib stdenv gzip bzip2 xz luajit zlib autoconf openssl pkgconfig;
|
inherit (pkgs) stdenv gzip bzip2 xz luajit zlib autoconf openssl pkgconfig;
|
||||||
in
|
in stdenv.mkDerivation rec {
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "cgit";
|
pname = "cgit";
|
||||||
version = "master";
|
version = "master";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
depot.nix.buildGo.external {
|
depot.nix.buildGo.external {
|
||||||
path = "github.com/cenkalti/backoff/v4";
|
path = "github.com/cenkalti/backoff/v4";
|
||||||
|
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "cenkalti";
|
owner = "cenkalti";
|
||||||
repo = "backoff";
|
repo = "backoff";
|
||||||
rev = "18fe4ce5a8550e0d0919b680ad3c080a5455bddf";
|
rev = "18fe4ce5a8550e0d0919b680ad3c080a5455bddf";
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
depot.nix.buildGo.external {
|
depot.nix.buildGo.external {
|
||||||
path = "github.com/davecgh/go-spew";
|
path = "github.com/davecgh/go-spew";
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "davecgh";
|
owner = "davecgh";
|
||||||
repo = "go-spew";
|
repo = "go-spew";
|
||||||
rev = "8991bc29aa16c548c550c7ff78260e27b9ab7c73";
|
rev = "8991bc29aa16c548c550c7ff78260e27b9ab7c73";
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
depot.nix.buildGo.external {
|
depot.nix.buildGo.external {
|
||||||
path = "github.com/emirpasic/gods";
|
path = "github.com/emirpasic/gods";
|
||||||
|
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "emirpasic";
|
owner = "emirpasic";
|
||||||
repo = "gods";
|
repo = "gods";
|
||||||
rev = "4e23915b9a82f35f320a68a395a7a5045c826932";
|
rev = "4e23915b9a82f35f320a68a395a7a5045c826932";
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
depot.nix.buildGo.external {
|
depot.nix.buildGo.external {
|
||||||
path = "github.com/golang/glog";
|
path = "github.com/golang/glog";
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "golang";
|
owner = "golang";
|
||||||
repo = "glog";
|
repo = "glog";
|
||||||
rev = "23def4e6c14b4da8ac2ed8007337bc5eb5007998";
|
rev = "23def4e6c14b4da8ac2ed8007337bc5eb5007998";
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
depot.nix.buildGo.external {
|
depot.nix.buildGo.external {
|
||||||
path = "github.com/google/uuid";
|
path = "github.com/google/uuid";
|
||||||
|
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = "uuid";
|
repo = "uuid";
|
||||||
rev = "c2e93f3ae59f2904160ceaab466009f965df46d6";
|
rev = "c2e93f3ae59f2904160ceaab466009f965df46d6";
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
depot.nix.buildGo.external {
|
depot.nix.buildGo.external {
|
||||||
path = "github.com/jbenet/go-context";
|
path = "github.com/jbenet/go-context";
|
||||||
|
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "jbenet";
|
owner = "jbenet";
|
||||||
repo = "go-context";
|
repo = "go-context";
|
||||||
rev = "d14ea06fba99483203c19d92cfcd13ebe73135f4";
|
rev = "d14ea06fba99483203c19d92cfcd13ebe73135f4";
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
depot.nix.buildGo.external {
|
depot.nix.buildGo.external {
|
||||||
path = "github.com/kevinburke/ssh_config";
|
path = "github.com/kevinburke/ssh_config";
|
||||||
|
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "kevinburke";
|
owner = "kevinburke";
|
||||||
repo = "ssh_config";
|
repo = "ssh_config";
|
||||||
rev = "01f96b0aa0cdcaa93f9495f89bbc6cb5a992ce6e";
|
rev = "01f96b0aa0cdcaa93f9495f89bbc6cb5a992ce6e";
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
depot.nix.buildGo.external {
|
depot.nix.buildGo.external {
|
||||||
path = "github.com/mitchellh/go-homedir";
|
path = "github.com/mitchellh/go-homedir";
|
||||||
|
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "mitchellh";
|
owner = "mitchellh";
|
||||||
repo = "go-homedir";
|
repo = "go-homedir";
|
||||||
rev = "af06845cf3004701891bf4fdb884bfe4920b3727";
|
rev = "af06845cf3004701891bf4fdb884bfe4920b3727";
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
depot.nix.buildGo.external {
|
depot.nix.buildGo.external {
|
||||||
path = "github.com/pkg/browser";
|
path = "github.com/pkg/browser";
|
||||||
|
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "pkg";
|
owner = "pkg";
|
||||||
repo = "browser";
|
repo = "browser";
|
||||||
rev = "0a3d74bf9ce488f035cf5bc36f753a711bc74334";
|
rev = "0a3d74bf9ce488f035cf5bc36f753a711bc74334";
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
depot.nix.buildGo.external {
|
depot.nix.buildGo.external {
|
||||||
path = "github.com/sergi/go-diff";
|
path = "github.com/sergi/go-diff";
|
||||||
|
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "sergi";
|
owner = "sergi";
|
||||||
repo = "go-diff";
|
repo = "go-diff";
|
||||||
rev = "58c5cb1602ee9676b5d3590d782bedde80706fcc";
|
rev = "58c5cb1602ee9676b5d3590d782bedde80706fcc";
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
depot.nix.buildGo.external {
|
depot.nix.buildGo.external {
|
||||||
path = "github.com/src-d/gcfg";
|
path = "github.com/src-d/gcfg";
|
||||||
|
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "src-d";
|
owner = "src-d";
|
||||||
repo = "gcfg";
|
repo = "gcfg";
|
||||||
rev = "1ac3a1ac202429a54835fe8408a92880156b489d";
|
rev = "1ac3a1ac202429a54835fe8408a92880156b489d";
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
depot.nix.buildGo.external {
|
depot.nix.buildGo.external {
|
||||||
path = "github.com/xanzy/ssh-agent";
|
path = "github.com/xanzy/ssh-agent";
|
||||||
|
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "xanzy";
|
owner = "xanzy";
|
||||||
repo = "ssh-agent";
|
repo = "ssh-agent";
|
||||||
rev = "6a3e2ff9e7c564f36873c2e36413f634534f1c44";
|
rev = "6a3e2ff9e7c564f36873c2e36413f634534f1c44";
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
depot.nix.buildGo.external {
|
depot.nix.buildGo.external {
|
||||||
path = "googlemaps.github.io/maps";
|
path = "googlemaps.github.io/maps";
|
||||||
|
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "googlemaps";
|
owner = "googlemaps";
|
||||||
repo = "google-maps-services-go";
|
repo = "google-maps-services-go";
|
||||||
rev = "a46d9fca56ac82caa79408b2417ea93a75e3b986";
|
rev = "a46d9fca56ac82caa79408b2417ea93a75e3b986";
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
depot.nix.buildGo.external {
|
depot.nix.buildGo.external {
|
||||||
path = "gopkg.in/irc.v3";
|
path = "gopkg.in/irc.v3";
|
||||||
|
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "go-irc";
|
owner = "go-irc";
|
||||||
repo = "irc";
|
repo = "irc";
|
||||||
rev = "21a5301d6035ea204b2a7bb522a7b4598e5f6b28";
|
rev = "21a5301d6035ea204b2a7bb522a7b4598e5f6b28";
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
depot.nix.buildGo.external {
|
depot.nix.buildGo.external {
|
||||||
path = "gopkg.in/src-d/go-billy.v4";
|
path = "gopkg.in/src-d/go-billy.v4";
|
||||||
|
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "src-d";
|
owner = "src-d";
|
||||||
repo = "go-billy";
|
repo = "go-billy";
|
||||||
rev = "fd409ff12f33d0d60af0ce0abeb8d93df360af49";
|
rev = "fd409ff12f33d0d60af0ce0abeb8d93df360af49";
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
depot.nix.buildGo.external {
|
depot.nix.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 = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "src-d";
|
owner = "src-d";
|
||||||
repo = "go-git";
|
repo = "go-git";
|
||||||
rev = "1a7db85bca7027d90afdb5ce711622aaac9feaed";
|
rev = "1a7db85bca7027d90afdb5ce711622aaac9feaed";
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
depot.nix.buildGo.external {
|
depot.nix.buildGo.external {
|
||||||
path = "gopkg.in/warnings.v0";
|
path = "gopkg.in/warnings.v0";
|
||||||
|
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "go-warnings";
|
owner = "go-warnings";
|
||||||
repo = "warnings";
|
repo = "warnings";
|
||||||
rev = "27b9fabbdaf131d2169ec3ff7db8ffc4d839635e";
|
rev = "27b9fabbdaf131d2169ec3ff7db8ffc4d839635e";
|
||||||
|
|
2
third_party/lisp/checkl.nix
vendored
2
third_party/lisp/checkl.nix
vendored
|
@ -12,7 +12,7 @@ let
|
||||||
|
|
||||||
in depot.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "checkl";
|
name = "checkl";
|
||||||
deps = with pkgs.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
(bundled "asdf")
|
(bundled "asdf")
|
||||||
marshal
|
marshal
|
||||||
fiveam
|
fiveam
|
||||||
|
|
10
third_party/lisp/chipz.nix
vendored
10
third_party/lisp/chipz.nix
vendored
|
@ -1,17 +1,15 @@
|
||||||
# Common Lisp library for decompressing deflate, zlib, gzip, and bzip2 data
|
# Common Lisp library for decompressing deflate, zlib, gzip, and bzip2 data
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
with depot.nix;
|
let src = pkgs.fetchFromGitHub {
|
||||||
|
|
||||||
let src = depot.third_party.fetchFromGitHub {
|
|
||||||
owner = "froydnj";
|
owner = "froydnj";
|
||||||
repo = "chipz";
|
repo = "chipz";
|
||||||
rev = "75dfbc660a5a28161c57f115adf74c8a926bfc4d";
|
rev = "75dfbc660a5a28161c57f115adf74c8a926bfc4d";
|
||||||
sha256 = "0plx4rs39zbs4gjk77h4a2q11zpy75fh9v8hnxrvsf8fnakajhwg";
|
sha256 = "0plx4rs39zbs4gjk77h4a2q11zpy75fh9v8hnxrvsf8fnakajhwg";
|
||||||
};
|
};
|
||||||
in buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "chipz";
|
name = "chipz";
|
||||||
deps = [ (buildLisp.bundled "asdf") ];
|
deps = [ (depot.nix.buildLisp.bundled "asdf") ];
|
||||||
|
|
||||||
srcs = map (f: src + ("/" + f)) [
|
srcs = map (f: src + ("/" + f)) [
|
||||||
"chipz.asd"
|
"chipz.asd"
|
||||||
|
|
4
third_party/lisp/chunga.nix
vendored
4
third_party/lisp/chunga.nix
vendored
|
@ -1,7 +1,7 @@
|
||||||
# Portable chunked streams for Common Lisp
|
# Portable chunked streams for Common Lisp
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
let src = depot.third_party.fetchFromGitHub {
|
let src = pkgs.fetchFromGitHub {
|
||||||
owner = "edicl";
|
owner = "edicl";
|
||||||
repo = "chunga";
|
repo = "chunga";
|
||||||
rev = "16330852d01dfde4dd97dee7cd985a88ea571e7e";
|
rev = "16330852d01dfde4dd97dee7cd985a88ea571e7e";
|
||||||
|
|
4
third_party/lisp/cl-fad.nix
vendored
4
third_party/lisp/cl-fad.nix
vendored
|
@ -1,9 +1,9 @@
|
||||||
# Portable pathname library
|
# Portable pathname library
|
||||||
{ depot, ...}:
|
{ depot, pkgs, ...}:
|
||||||
|
|
||||||
with depot.nix;
|
with depot.nix;
|
||||||
|
|
||||||
let src = depot.third_party.fetchFromGitHub {
|
let src = pkgs.fetchFromGitHub {
|
||||||
owner = "edicl";
|
owner = "edicl";
|
||||||
repo = "cl-fad";
|
repo = "cl-fad";
|
||||||
rev = "c13d81c4bd9ba3a172631fd05dd213ab90e7d4cb";
|
rev = "c13d81c4bd9ba3a172631fd05dd213ab90e7d4cb";
|
||||||
|
|
18
third_party/lisp/cl-json.nix
vendored
18
third_party/lisp/cl-json.nix
vendored
|
@ -1,13 +1,15 @@
|
||||||
# JSON encoder & decoder
|
# JSON encoder & decoder
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
with depot.nix;
|
let
|
||||||
let src = depot.third_party.fetchFromGitHub {
|
inherit (depot.nix) buildLisp;
|
||||||
owner = "hankhero";
|
|
||||||
repo = "cl-json";
|
src = pkgs.fetchFromGitHub {
|
||||||
rev = "6dfebb9540bfc3cc33582d0c03c9ec27cb913e79";
|
owner = "hankhero";
|
||||||
sha256 = "0fx3m3x3s5ji950yzpazz4s0img3l6b3d6l3jrfjv0lr702496lh";
|
repo = "cl-json";
|
||||||
};
|
rev = "6dfebb9540bfc3cc33582d0c03c9ec27cb913e79";
|
||||||
|
sha256 = "0fx3m3x3s5ji950yzpazz4s0img3l6b3d6l3jrfjv0lr702496lh";
|
||||||
|
};
|
||||||
in buildLisp.library {
|
in buildLisp.library {
|
||||||
name = "cl-json";
|
name = "cl-json";
|
||||||
deps = [ (buildLisp.bundled "asdf") ];
|
deps = [ (buildLisp.bundled "asdf") ];
|
||||||
|
|
4
third_party/lisp/cl-plus-ssl.nix
vendored
4
third_party/lisp/cl-plus-ssl.nix
vendored
|
@ -1,5 +1,5 @@
|
||||||
# Common Lisp bindings to OpenSSL
|
# Common Lisp bindings to OpenSSL
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
with depot.nix;
|
with depot.nix;
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ in buildLisp.library {
|
||||||
(buildLisp.bundled "sb-posix")
|
(buildLisp.bundled "sb-posix")
|
||||||
];
|
];
|
||||||
|
|
||||||
native = [ depot.third_party.openssl ];
|
native = [ pkgs.openssl ];
|
||||||
|
|
||||||
srcs = map (f: src + ("/src/" + f)) [
|
srcs = map (f: src + ("/src/" + f)) [
|
||||||
"package.lisp"
|
"package.lisp"
|
||||||
|
|
4
third_party/lisp/cl-prevalence.nix
vendored
4
third_party/lisp/cl-prevalence.nix
vendored
|
@ -1,8 +1,8 @@
|
||||||
# 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)
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
let src = depot.third_party.fetchFromGitHub {
|
let src = pkgs.fetchFromGitHub {
|
||||||
owner = "40ants";
|
owner = "40ants";
|
||||||
repo = "cl-prevalence";
|
repo = "cl-prevalence";
|
||||||
rev = "da3ed6c4594b1c2fca90c178c1993973c4bf16c9";
|
rev = "da3ed6c4594b1c2fca90c178c1993973c4bf16c9";
|
||||||
|
|
2
third_party/lisp/cl-smtp.nix
vendored
2
third_party/lisp/cl-smtp.nix
vendored
|
@ -11,7 +11,7 @@ let
|
||||||
|
|
||||||
in depot.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "cl-smtp";
|
name = "cl-smtp";
|
||||||
deps = with pkgs.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
usocket
|
usocket
|
||||||
trivial-gray-streams
|
trivial-gray-streams
|
||||||
flexi-streams
|
flexi-streams
|
||||||
|
|
4
third_party/lisp/closer-mop.nix
vendored
4
third_party/lisp/closer-mop.nix
vendored
|
@ -1,9 +1,9 @@
|
||||||
# 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
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
let src = depot.third_party.fetchFromGitHub {
|
let src = pkgs.fetchFromGitHub {
|
||||||
owner = "pcostanza";
|
owner = "pcostanza";
|
||||||
repo = "closer-mop";
|
repo = "closer-mop";
|
||||||
rev = "e1d1430524086709a7ea8e0eede6849aa29d6276";
|
rev = "e1d1430524086709a7ea8e0eede6849aa29d6276";
|
||||||
|
|
10
third_party/lisp/drakma.nix
vendored
10
third_party/lisp/drakma.nix
vendored
|
@ -1,15 +1,13 @@
|
||||||
# Drakma is an HTTP client for Common Lisp.
|
# Drakma is an HTTP client for Common Lisp.
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
with depot.nix;
|
let src = pkgs.fetchFromGitHub {
|
||||||
|
|
||||||
let src = depot.third_party.fetchFromGitHub {
|
|
||||||
owner = "edicl";
|
owner = "edicl";
|
||||||
repo = "drakma";
|
repo = "drakma";
|
||||||
rev = "87feb02bef00b11a753d5fb21a5fec526b0d0bbb";
|
rev = "87feb02bef00b11a753d5fb21a5fec526b0d0bbb";
|
||||||
sha256 = "01b80am2vrw94xmdj7f21qm7p5ys08mmpzv4nc4icql81hqr1w2m";
|
sha256 = "01b80am2vrw94xmdj7f21qm7p5ys08mmpzv4nc4icql81hqr1w2m";
|
||||||
};
|
};
|
||||||
in buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "drakma";
|
name = "drakma";
|
||||||
deps = with depot.third_party.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
chipz
|
chipz
|
||||||
|
@ -20,7 +18,7 @@ in buildLisp.library {
|
||||||
flexi-streams
|
flexi-streams
|
||||||
puri
|
puri
|
||||||
usocket
|
usocket
|
||||||
(buildLisp.bundled "asdf")
|
(depot.nix.buildLisp.bundled "asdf")
|
||||||
];
|
];
|
||||||
|
|
||||||
srcs = map (f: src + ("/" + f)) [
|
srcs = map (f: src + ("/" + f)) [
|
||||||
|
|
4
third_party/lisp/hunchentoot.nix
vendored
4
third_party/lisp/hunchentoot.nix
vendored
|
@ -1,8 +1,8 @@
|
||||||
# Hunchentoot is a web framework for Common Lisp.
|
# Hunchentoot is a web framework for Common Lisp.
|
||||||
{ depot, ...}:
|
{ depot, pkgs, ...}:
|
||||||
|
|
||||||
let
|
let
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "edicl";
|
owner = "edicl";
|
||||||
repo = "hunchentoot";
|
repo = "hunchentoot";
|
||||||
rev = "585b45b6b873f2da421fdf456b61860ab5868207";
|
rev = "585b45b6b873f2da421fdf456b61860ab5868207";
|
||||||
|
|
4
third_party/lisp/lisp-binary.nix
vendored
4
third_party/lisp/lisp-binary.nix
vendored
|
@ -1,7 +1,7 @@
|
||||||
# A library to easily read and write complex binary formats.
|
# A library to easily read and write complex binary formats.
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
let src = depot.third_party.fetchFromGitHub {
|
let src = pkgs.fetchFromGitHub {
|
||||||
owner = "j3pic";
|
owner = "j3pic";
|
||||||
repo = "lisp-binary";
|
repo = "lisp-binary";
|
||||||
rev = "1aefc8618b7734f68697ddf59bc93cb8522aa0bf";
|
rev = "1aefc8618b7734f68697ddf59bc93cb8522aa0bf";
|
||||||
|
|
4
third_party/lisp/local-time.nix
vendored
4
third_party/lisp/local-time.nix
vendored
|
@ -1,7 +1,7 @@
|
||||||
# Library for manipulating dates & times
|
# Library for manipulating dates & times
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
let src = depot.third_party.fetchFromGitHub {
|
let src = pkgs.fetchFromGitHub {
|
||||||
owner = "dlowe-net";
|
owner = "dlowe-net";
|
||||||
repo = "local-time";
|
repo = "local-time";
|
||||||
rev = "dc54f61415c76ee755a6f69d4154a3a282f2789f";
|
rev = "dc54f61415c76ee755a6f69d4154a3a282f2789f";
|
||||||
|
|
4
third_party/lisp/md5.nix
vendored
4
third_party/lisp/md5.nix
vendored
|
@ -1,9 +1,9 @@
|
||||||
# MD5 hash implementation
|
# MD5 hash implementation
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
with depot.nix;
|
with depot.nix;
|
||||||
|
|
||||||
let src = depot.third_party.fetchFromGitHub {
|
let src = pkgs.fetchFromGitHub {
|
||||||
owner = "pmai";
|
owner = "pmai";
|
||||||
repo = "md5";
|
repo = "md5";
|
||||||
rev = "b1412600f60d526ee34a7ba1596ec483da7894ab";
|
rev = "b1412600f60d526ee34a7ba1596ec483da7894ab";
|
||||||
|
|
4
third_party/lisp/moptilities.nix
vendored
4
third_party/lisp/moptilities.nix
vendored
|
@ -1,7 +1,7 @@
|
||||||
# Compatibility layer for minor MOP implementation differences
|
# Compatibility layer for minor MOP implementation differences
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
let src = depot.third_party.fetchFromGitHub {
|
let src = pkgs.fetchFromGitHub {
|
||||||
owner = "gwkkwg";
|
owner = "gwkkwg";
|
||||||
repo = "moptilities";
|
repo = "moptilities";
|
||||||
rev = "a436f16b357c96b82397ec018ea469574c10dd41";
|
rev = "a436f16b357c96b82397ec018ea469574c10dd41";
|
||||||
|
|
6
third_party/lisp/postmodern.nix
vendored
6
third_party/lisp/postmodern.nix
vendored
|
@ -12,7 +12,7 @@ let
|
||||||
|
|
||||||
cl-postgres = depot.nix.buildLisp.library {
|
cl-postgres = depot.nix.buildLisp.library {
|
||||||
name = "cl-postgres";
|
name = "cl-postgres";
|
||||||
deps = with pkgs.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
md5
|
md5
|
||||||
split-sequence
|
split-sequence
|
||||||
ironclad
|
ironclad
|
||||||
|
@ -44,7 +44,7 @@ let
|
||||||
|
|
||||||
s-sql = depot.nix.buildLisp.library {
|
s-sql = depot.nix.buildLisp.library {
|
||||||
name = "s-sql";
|
name = "s-sql";
|
||||||
deps = with pkgs.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
cl-postgres
|
cl-postgres
|
||||||
alexandria
|
alexandria
|
||||||
];
|
];
|
||||||
|
@ -58,7 +58,7 @@ let
|
||||||
postmodern = depot.nix.buildLisp.library {
|
postmodern = depot.nix.buildLisp.library {
|
||||||
name = "postmodern";
|
name = "postmodern";
|
||||||
|
|
||||||
deps = with pkgs.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
alexandria
|
alexandria
|
||||||
cl-postgres
|
cl-postgres
|
||||||
s-sql
|
s-sql
|
||||||
|
|
4
third_party/lisp/puri.nix
vendored
4
third_party/lisp/puri.nix
vendored
|
@ -1,7 +1,7 @@
|
||||||
# Portable URI library
|
# Portable URI library
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
let src = depot.third_party.fetchgit {
|
let src = pkgs.fetchgit {
|
||||||
url = "http://git.kpe.io/puri.git";
|
url = "http://git.kpe.io/puri.git";
|
||||||
rev = "4bbab89d9ccbb26346899d1f496c97604fec567b";
|
rev = "4bbab89d9ccbb26346899d1f496c97604fec567b";
|
||||||
sha256 = "0gq2rsr0aihs0z20v4zqvmdl4szq53b52rh97pvnmwrlbn4mapmd";
|
sha256 = "0gq2rsr0aihs0z20v4zqvmdl4szq53b52rh97pvnmwrlbn4mapmd";
|
||||||
|
|
4
third_party/lisp/rfc2388.nix
vendored
4
third_party/lisp/rfc2388.nix
vendored
|
@ -1,7 +1,7 @@
|
||||||
# Implementation of RFC2388 (multipart/form-data)
|
# Implementation of RFC2388 (multipart/form-data)
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
let src = depot.third_party.fetchFromGitHub {
|
let src = pkgs.fetchFromGitHub {
|
||||||
owner = "jdz";
|
owner = "jdz";
|
||||||
repo = "rfc2388";
|
repo = "rfc2388";
|
||||||
rev = "591bcf7e77f2c222c43953a80f8c297751dc0c4e";
|
rev = "591bcf7e77f2c222c43953a80f8c297751dc0c4e";
|
||||||
|
|
4
third_party/lisp/s-sysdeps.nix
vendored
4
third_party/lisp/s-sysdeps.nix
vendored
|
@ -1,7 +1,7 @@
|
||||||
# A Common Lisp abstraction layer over platform dependent functionality.
|
# A Common Lisp abstraction layer over platform dependent functionality.
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
let src = depot.third_party.fetchFromGitHub {
|
let src = pkgs.fetchFromGitHub {
|
||||||
owner = "svenvc";
|
owner = "svenvc";
|
||||||
repo = "s-sysdeps";
|
repo = "s-sysdeps";
|
||||||
rev = "d28246b5dffef9e73a0e0e6cfbc4e878006fe34d";
|
rev = "d28246b5dffef9e73a0e0e6cfbc4e878006fe34d";
|
||||||
|
|
2
third_party/lisp/trivial-ldap.nix
vendored
2
third_party/lisp/trivial-ldap.nix
vendored
|
@ -9,7 +9,7 @@ let src = pkgs.fetchFromGitHub {
|
||||||
in depot.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "trivial-ldap";
|
name = "trivial-ldap";
|
||||||
|
|
||||||
deps = with pkgs.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
usocket
|
usocket
|
||||||
cl-plus-ssl
|
cl-plus-ssl
|
||||||
cl-yacc
|
cl-yacc
|
||||||
|
|
2
third_party/lisp/uax-15.nix
vendored
2
third_party/lisp/uax-15.nix
vendored
|
@ -16,7 +16,7 @@ let
|
||||||
in depot.nix.buildLisp.library {
|
in depot.nix.buildLisp.library {
|
||||||
name = "uax-15";
|
name = "uax-15";
|
||||||
|
|
||||||
deps = with pkgs.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
split-sequence
|
split-sequence
|
||||||
cl-ppcre
|
cl-ppcre
|
||||||
(bundled "uiop")
|
(bundled "uiop")
|
||||||
|
|
4
third_party/lisp/unix-opts.nix
vendored
4
third_party/lisp/unix-opts.nix
vendored
|
@ -1,8 +1,8 @@
|
||||||
# unix-opts is a portable command line argument parser
|
# unix-opts is a portable command line argument parser
|
||||||
{ depot, ...}:
|
{ depot, pkgs, ...}:
|
||||||
|
|
||||||
let
|
let
|
||||||
src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "libre-man";
|
owner = "libre-man";
|
||||||
repo = "unix-opts";
|
repo = "unix-opts";
|
||||||
rev = "b805050b074bd860edd18cfc8776fdec666ec36e";
|
rev = "b805050b074bd860edd18cfc8776fdec666ec36e";
|
||||||
|
|
17
third_party/lisp/usocket.nix
vendored
17
third_party/lisp/usocket.nix
vendored
|
@ -1,14 +1,15 @@
|
||||||
# Usocket is a portable socket library
|
# Usocket is a portable socket library
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
with depot.nix;
|
let
|
||||||
|
inherit (depot.nix) buildLisp;
|
||||||
|
|
||||||
let src = depot.third_party.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "usocket";
|
owner = "usocket";
|
||||||
repo = "usocket";
|
repo = "usocket";
|
||||||
rev = "fdf4fd1e0051ce83340ccfbbc8a43a462bb19cf2";
|
rev = "fdf4fd1e0051ce83340ccfbbc8a43a462bb19cf2";
|
||||||
sha256 = "0x746wr2324l6bn7skqzgkzcbj5kd0zp2ck0c8rldrw0rzabg826";
|
sha256 = "0x746wr2324l6bn7skqzgkzcbj5kd0zp2ck0c8rldrw0rzabg826";
|
||||||
};
|
};
|
||||||
in buildLisp.library {
|
in buildLisp.library {
|
||||||
name = "usocket";
|
name = "usocket";
|
||||||
deps = with depot.third_party.lisp; [
|
deps = with depot.third_party.lisp; [
|
||||||
|
|
|
@ -113,6 +113,7 @@
|
||||||
pandoc
|
pandoc
|
||||||
pango
|
pango
|
||||||
parallel
|
parallel
|
||||||
|
path
|
||||||
pkgconfig
|
pkgconfig
|
||||||
pkgsCross
|
pkgsCross
|
||||||
plantuml
|
plantuml
|
||||||
|
|
4
third_party/protobuf/default.nix
vendored
4
third_party/protobuf/default.nix
vendored
|
@ -1,7 +1,7 @@
|
||||||
# Pin protobuf to version 3.12, with LLVM.
|
# Pin protobuf to version 3.12, with LLVM.
|
||||||
{ pkgs, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
pkgs.callPackage "${pkgs.nixpkgsSrc}/pkgs/development/libraries/protobuf/generic-v3.nix" {
|
pkgs.callPackage "${depot.third_party.nixpkgsSrc}/pkgs/development/libraries/protobuf/generic-v3.nix" {
|
||||||
version = "3.12.2";
|
version = "3.12.2";
|
||||||
sha256 = "1lp368aa206vpic9fmax4k6llnmf28plfvkkm4vqhgphmjqykvl2";
|
sha256 = "1lp368aa206vpic9fmax4k6llnmf28plfvkkm4vqhgphmjqykvl2";
|
||||||
stdenv = pkgs.llvmPackages.libcxxStdenv;
|
stdenv = pkgs.llvmPackages.libcxxStdenv;
|
||||||
|
|
2
third_party/rapidcheck/default.nix
vendored
2
third_party/rapidcheck/default.nix
vendored
|
@ -1,6 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
(pkgs.callPackage "${pkgs.nixpkgsSrc}/pkgs/development/libraries/rapidcheck" {
|
(pkgs.callPackage "${pkgs.path}/pkgs/development/libraries/rapidcheck" {
|
||||||
stdenv = pkgs.llvmPackages.libcxxStdenv;
|
stdenv = pkgs.llvmPackages.libcxxStdenv;
|
||||||
}).overrideAttrs (attrs: rec {
|
}).overrideAttrs (attrs: rec {
|
||||||
# follows the versioning scheme of nixpkgs, since rapidcheck does not
|
# follows the versioning scheme of nixpkgs, since rapidcheck does not
|
||||||
|
|
4
third_party/rust-crates/default.nix
vendored
4
third_party/rust-crates/default.nix
vendored
|
@ -1,10 +1,10 @@
|
||||||
{ depot, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
buildRustCrate = attrs@{
|
buildRustCrate = attrs@{
|
||||||
edition ? "2018",
|
edition ? "2018",
|
||||||
...
|
...
|
||||||
}: depot.third_party.buildRustCrate (attrs // {
|
}: pkgs.buildRustCrate (attrs // {
|
||||||
inherit
|
inherit
|
||||||
edition
|
edition
|
||||||
;
|
;
|
||||||
|
|
|
@ -10,10 +10,11 @@
|
||||||
#
|
#
|
||||||
# If this script is run while an NSFV sink exists, the existing sink
|
# If this script is run while an NSFV sink exists, the existing sink
|
||||||
# will first be removed.
|
# will first be removed.
|
||||||
{ pkgs, ... }:
|
{ depot, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
inherit (pkgs) ripgrep pulseaudio nsfv;
|
inherit (pkgs) ripgrep pulseaudio;
|
||||||
|
inherit (depot.third_party) nsfv;
|
||||||
in pkgs.writeShellScriptBin "nsfv-setup" ''
|
in pkgs.writeShellScriptBin "nsfv-setup" ''
|
||||||
export PATH="${ripgrep}/bin:${pulseaudio}/bin:$PATH"
|
export PATH="${ripgrep}/bin:${pulseaudio}/bin:$PATH"
|
||||||
|
|
||||||
|
@ -23,5 +24,5 @@ in pkgs.writeShellScriptBin "nsfv-setup" ''
|
||||||
|
|
||||||
SINK=$(${pulseaudio}/bin/pacmd info | ${ripgrep}/bin/rg -r '$1' '^Default sink name: (.*)$')
|
SINK=$(${pulseaudio}/bin/pacmd info | ${ripgrep}/bin/rg -r '$1' '^Default sink name: (.*)$')
|
||||||
echo "Setting up NSFV filtering to sink ''${SINK}"
|
echo "Setting up NSFV filtering to sink ''${SINK}"
|
||||||
${pulseaudio}/bin/pacmd load-module module-ladspa-sink sink_name=NSFV sink_master=''${SINK} label=noise_suppressor_mono plugin=${pkgs.nsfv}/lib/ladspa/librnnoise_ladspa.so control=42 rate=48000
|
${pulseaudio}/bin/pacmd load-module module-ladspa-sink sink_name=NSFV sink_master=''${SINK} label=noise_suppressor_mono plugin=${nsfv}/lib/ladspa/librnnoise_ladspa.so control=42 rate=48000
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue