2019-12-09 03:52:41 +01:00
|
|
|
# This file controls the import of external dependencies (i.e.
|
|
|
|
# third-party code) into my package tree.
|
|
|
|
#
|
|
|
|
# This includes *all packages needed from nixpkgs*.
|
|
|
|
|
|
|
|
{ pkgs, ... }:
|
|
|
|
let
|
|
|
|
# The pinned commit here is identical to the public nixery.dev
|
|
|
|
# version, since popularity data has been generated for that.
|
2019-12-13 22:32:02 +01:00
|
|
|
stableCommit = "3140fa89c51233397f496f49014f6b23216667c2";
|
2019-12-09 03:52:41 +01:00
|
|
|
stableSrc = fetchTarball {
|
|
|
|
url = "https://github.com/NixOS/nixpkgs-channels/archive/${stableCommit}.tar.gz";
|
2019-12-13 22:32:02 +01:00
|
|
|
sha256 = "18p0d5lnfvzsyfah02mf6bi249990pfwnylwhqdh8qi70ncrk3f8";
|
2019-12-09 03:52:41 +01:00
|
|
|
};
|
|
|
|
nixpkgs = import stableSrc {
|
|
|
|
config.allowUnfree = true;
|
|
|
|
config.allowBroken = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
exposed = {
|
|
|
|
# Inherit the packages from nixpkgs that should be available inside
|
|
|
|
# of the repo. They become available under `pkgs.third_party.<name>`
|
|
|
|
inherit (nixpkgs)
|
2019-12-09 04:19:03 +01:00
|
|
|
bashInteractive
|
2019-12-09 03:52:41 +01:00
|
|
|
buildGoPackage
|
2019-12-09 04:19:03 +01:00
|
|
|
cacert
|
|
|
|
cachix
|
2019-12-09 03:52:41 +01:00
|
|
|
cargo
|
2019-12-18 17:22:56 +01:00
|
|
|
cgit
|
2019-12-09 04:19:03 +01:00
|
|
|
coreutils
|
2019-12-09 03:52:41 +01:00
|
|
|
darwin
|
2019-12-09 04:19:03 +01:00
|
|
|
dockerTools
|
2019-12-14 13:47:07 +01:00
|
|
|
emacs26
|
2019-12-09 04:00:56 +01:00
|
|
|
emacs26-nox
|
2019-12-14 13:47:07 +01:00
|
|
|
emacsPackagesNg
|
|
|
|
emacsPackagesNgGen
|
2019-12-09 03:52:41 +01:00
|
|
|
fetchFromGitHub
|
2019-12-16 04:14:21 +01:00
|
|
|
fetchurl
|
2019-12-09 04:19:03 +01:00
|
|
|
git
|
2019-12-16 04:14:21 +01:00
|
|
|
glibc
|
2019-12-09 04:19:03 +01:00
|
|
|
gnutar
|
|
|
|
go
|
2019-12-09 03:52:41 +01:00
|
|
|
google-cloud-sdk
|
2019-12-09 04:19:03 +01:00
|
|
|
gzip
|
2019-12-09 03:52:41 +01:00
|
|
|
haskell
|
2019-12-09 04:19:03 +01:00
|
|
|
iana-etc
|
2019-12-09 03:52:41 +01:00
|
|
|
jq
|
2019-12-09 05:27:40 +01:00
|
|
|
kontemplate
|
2019-12-09 03:52:41 +01:00
|
|
|
lib
|
2019-12-09 04:36:50 +01:00
|
|
|
lispPackages
|
2019-12-09 03:52:41 +01:00
|
|
|
llvmPackages
|
2019-12-09 04:36:50 +01:00
|
|
|
makeWrapper
|
2019-12-09 04:19:03 +01:00
|
|
|
mdbook
|
2019-12-20 22:17:51 +01:00
|
|
|
mime-types
|
2019-12-18 20:08:10 +01:00
|
|
|
moreutils
|
|
|
|
nano
|
2019-12-20 16:48:22 +01:00
|
|
|
nginx
|
2019-12-20 21:03:36 +01:00
|
|
|
nix
|
2019-12-14 13:47:07 +01:00
|
|
|
notmuch
|
2019-12-09 04:19:03 +01:00
|
|
|
openssh
|
2019-12-09 04:36:50 +01:00
|
|
|
openssl
|
2019-12-20 23:19:52 +01:00
|
|
|
parallel
|
2019-12-20 21:03:36 +01:00
|
|
|
pkgconfig
|
2019-12-09 04:36:50 +01:00
|
|
|
protobuf
|
2019-12-09 03:52:41 +01:00
|
|
|
remarshal
|
2019-12-14 18:47:54 +01:00
|
|
|
rink
|
2019-12-13 13:11:50 +01:00
|
|
|
ripgrep
|
2019-12-09 03:52:41 +01:00
|
|
|
rsync
|
|
|
|
runCommand
|
2019-12-09 04:19:03 +01:00
|
|
|
rustPlatform
|
2019-12-09 03:52:41 +01:00
|
|
|
rustc
|
2019-12-09 04:36:50 +01:00
|
|
|
sbcl
|
2019-12-09 03:52:41 +01:00
|
|
|
stdenv
|
2019-12-14 18:40:21 +01:00
|
|
|
stern
|
2019-12-09 03:52:41 +01:00
|
|
|
symlinkJoin
|
2019-12-20 21:03:36 +01:00
|
|
|
systemd
|
2019-12-19 15:48:22 +01:00
|
|
|
tdlib
|
2019-12-09 04:19:03 +01:00
|
|
|
terraform_0_12
|
2019-12-18 17:22:56 +01:00
|
|
|
thttpd
|
2019-12-09 03:52:41 +01:00
|
|
|
tree
|
|
|
|
writeShellScriptBin
|
2019-12-09 04:00:56 +01:00
|
|
|
writeText
|
2019-12-09 04:19:03 +01:00
|
|
|
writeTextFile
|
2019-12-16 04:14:21 +01:00
|
|
|
zlib
|
|
|
|
zstd;
|
2019-12-09 03:52:41 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
in exposed // {
|
|
|
|
callPackage = nixpkgs.lib.callPackageWith exposed;
|
|
|
|
# Provide the source code of nixpkgs, but do not provide an imported
|
|
|
|
# version of it.
|
|
|
|
nixpkgsSrc = stableSrc;
|
|
|
|
}
|