2022-02-01 00:59:09 +00:00
|
|
|
{ nixpkgs, system, ... }:
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
};
|
|
|
|
in
|
|
|
|
pkgs.stdenv.mkDerivation {
|
|
|
|
pname = "triton-utils";
|
2022-03-02 23:34:18 +00:00
|
|
|
version = "0.0.3";
|
2022-02-01 00:59:09 +00:00
|
|
|
src = pkgs.lib.cleanSource ./.;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin $out/share/certs
|
|
|
|
cd ./utils
|
2022-02-09 10:44:08 +00:00
|
|
|
cp ./cacert-2022-02-01.pem $out/share/certs
|
2022-02-01 00:59:09 +00:00
|
|
|
cp ./ttp.sh $out/bin
|
|
|
|
cp ./unset-env.sh $out/bin
|
|
|
|
'';
|
|
|
|
}
|