add gost-ctl
This commit is contained in:
parent
7eb8e54aea
commit
0286e0d645
3 changed files with 204 additions and 0 deletions
28
pkgs/g/gost-ctl/package.nix
Normal file
28
pkgs/g/gost-ctl/package.nix
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue