2018-07-19 15:00:41 -06:00
|
|
|
self: super:
|
|
|
|
|
2019-12-10 15:02:41 -07:00
|
|
|
let
|
|
|
|
lorriSource = (import <nixpkgs> {}).fetchurl {
|
|
|
|
url = "https://raw.githubusercontent.com/target/lorri/master/direnv/nixos.nix";
|
|
|
|
sha256 = "057kqbivf4xbhakz1j1b19sxd5c6p6rqhg6pwnq2zfvvmp8nmylm";
|
|
|
|
};
|
|
|
|
lorriBinSource = super.fetchFromGitHub {
|
|
|
|
owner = "IvanMalison";
|
|
|
|
repo = "lorri";
|
2020-04-14 01:32:54 -06:00
|
|
|
rev = "cb966b0d4ab7f4b5861d79a19822eca6b6a50e82";
|
|
|
|
sha256 = "1q01cjmvd1shxlwzjsi4gzdn0sx5a132bqql3xksbnhaj7ka6j3f";
|
2019-12-10 15:02:41 -07:00
|
|
|
};
|
|
|
|
in
|
2018-07-19 15:00:41 -06:00
|
|
|
{
|
2019-12-10 15:02:41 -07:00
|
|
|
lorri = (import (lorriBinSource.outPath + "/default.nix")) { pkgs = super; };
|
2021-07-04 01:42:12 -06:00
|
|
|
ic-keysmith = super.buildGoModule rec {
|
|
|
|
pname = "keysmith";
|
|
|
|
version = "1.6.0";
|
|
|
|
|
|
|
|
src = super.fetchFromGitHub {
|
|
|
|
owner = "dfinity";
|
|
|
|
repo = "keysmith";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1z0sxirk71yabgilq8v5lz4nd2bbm1xyrd5zppif8k9jqhr6v3v3";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = "1qnj1x8ydnbw5zb3hrsd1pd2lh3qbd340sbsjyrhcrksl1hdrrax";
|
|
|
|
|
|
|
|
runVend = true;
|
|
|
|
};
|
2021-07-04 03:18:00 -06:00
|
|
|
|
|
|
|
quill = self.stdenv.mkDerivation (rec {
|
|
|
|
name = "quill";
|
|
|
|
version = "0.2.0";
|
|
|
|
phases = [ "installPhase" ];
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp $src $out/bin/quill
|
|
|
|
chmod a+x $out/bin/quill
|
|
|
|
'';
|
|
|
|
src = self.fetchurl {
|
|
|
|
url = "https://github.com/dfinity/quill/releases/download/v${version}/quill-linux-x86_64";
|
|
|
|
sha256 = "1msgj7y8b0bh0sq14msa5jqwfn9yzwiin5l276qz0h0wjqmnndbs";
|
|
|
|
};
|
|
|
|
});
|
2018-07-19 15:00:41 -06:00
|
|
|
}
|