add gost-ctl

This commit is contained in:
Rongsong Shen 2026-03-27 11:35:17 +08:00
parent 7eb8e54aea
commit 0286e0d645
3 changed files with 204 additions and 0 deletions

View file

@ -0,0 +1,28 @@
# xbuild.nix
{
lib,
stdenv,
pkgs,
...
}:
let
gost-ctl=stdenv.mkDerivation {
pname = "gost-ctl";
version = "0.0.1";
src = ./.;
nativeBuildInputs = [
pkgs.gost
];
installPhase = ''
mkdir -p $out/bin
cp gost-ctl $out/bin
chmod +x $out/bin/gost-ctl
'';
};
in
gost-ctl