Add dadada-deploy pkg
This commit is contained in:
parent
439e5c6953
commit
04ef7f0bb5
2 changed files with 34 additions and 0 deletions
|
@ -15,4 +15,5 @@ rec {
|
||||||
tubslatex = callPackage ./pkgs/tubslatex { };
|
tubslatex = callPackage ./pkgs/tubslatex { };
|
||||||
keys = callPackage ./pkgs/keys { };
|
keys = callPackage ./pkgs/keys { };
|
||||||
homePage = callPackage ./pkgs/homePage { };
|
homePage = callPackage ./pkgs/homePage { };
|
||||||
|
deploy = callPackage ./pkgs/deploy.nix { };
|
||||||
}
|
}
|
||||||
|
|
33
pkgs/deploy.nix
Normal file
33
pkgs/deploy.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{ stdenv
|
||||||
|
, git
|
||||||
|
, openssh
|
||||||
|
, bash
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "dadada-deploy";
|
||||||
|
version = "0.1";
|
||||||
|
|
||||||
|
src = ../utils;
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
git
|
||||||
|
openssh
|
||||||
|
bash
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
for script in \
|
||||||
|
deploy \
|
||||||
|
gen-config
|
||||||
|
do
|
||||||
|
install $script $out/bin/
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "deploy scripts";
|
||||||
|
license = licenses.publicDomain;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ "dadada" ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue