Skip to content
This repository has been archived by the owner on Aug 29, 2021. It is now read-only.

talismanco/talismanpkgs

Repository files navigation

📦 talismanpkgs

A Nix package channel for Talisman development

semantic-release

talismanpkgs is a derivative of the Nixpkgs collection - a collection of software packages that can be installed with the Nix package manager. In order to streamline development and CI pipelines at Talisman, we've implemented our own custom package channel quick and iterative development via Nix.

Packages

Packages Versions
bazel
  • 3.2.0 (bazel_3_2_0)
cargo
  • 1.43.0 (cargo_1_43_0)
clippy
  • 1.43.0 (clippy_1_43_0)
consul
  • 1.9.0 (consul_1_9_0)
go
  • 1.14.13 (go_1_14_13)
golangci-lint
  • 1.27.0 (golangci-lint_1_27_0)
google-cloud-sdk
  • 268.0.0 (google-cloud-sdk_268_0_0)
helm
  • 3.4.1 (helm_3_4_1)
jq
  • 1.6 (jq_1_6)
k9s
  • 0.23.10 (k9s_0_23_10)
mirror
  • 1.0.0 (mirror_1_0_0)
nodejs
  • 12.18.3 (nodejs_12_18_3)
  • 10.19.0 (nodejs_10_19_0)
nomad
  • 0.10.9 (nomad_0_10_9)
openjdk
  • 14.0.1 (openjdk_14)
  • 11.0.6 (openjdk_11)
  • 1.8.0_242 (openjdk_8)
python
  • 3.7.x (python_3_7)
rustc
  • 1.45.2 (rustc_1_45_2)
skaffold
  • 1.15.0 (skaffold_1_15_0)
  • 1.11.0 (skaffold_1_11_0)
  • 1.10.1 (skaffold_1_10_1)
  • 1.10.0 (skaffold_1_10_0)
waypoint
  • 1.15.0 (waypoint_0_1_5)

Get Started

Our home management system, Casa, is shipped with the highest level revisions for all talismanpkgs packages.

Installing Nix

$ curl -L https://nixos.org/nix/install | sh

Installation

Nix Channels

Subscribe to the talismanpkgs custom channel

nix-channel --add https://github.com/talismanco/talismanpkgs/archive/master.tar.gz talismanpkgs

Import the channel in your derivations

talismanpkgs = import <talismanpkgs> {};

Niv

niv is available in nixpkgs on the master branch as niv. It is also available on the release-19.09 branch as haskellPackages.niv. Otherwise, run:

nix-env -iA niv -f https://github.com/nmattia/niv/tarball/master \
    --substituters https://niv.cachix.org \
    --trusted-public-keys niv.cachix.org-1:X32PCg2e/zAm3/uD1ScqW2z/K0LtDyNV7RdaxIuLgQM=

If you're using home-manager, you can add it to your home.nix profile via the nixpkgs channel.

home.packages = with pkgs; [
  niv
  ...
];

In your project directory, run niv init to bootstrap niv. Now you can install latest version of talismanpkgs by running the following:

niv add talismanco/talismanpkgs

This will pull directly fromt the master branch. You can target a specific branch by applying the -b <BRANCH> flag:

niv add talismanco/talismanpkgs -b alpha

You can add a specific version of the collection via:

niv add talismanpkgs \
  -v 1.1.0-alpha.1 \
  -t "https://github.com/talismanco/talismanpkgs/archive/v<version>.tar.gz"