add package for website

This commit is contained in:
Kopatz
2024-05-04 16:47:08 +02:00
parent e9271d8c0f
commit def344c5af
3 changed files with 23 additions and 0 deletions

18
pkgs/hub/default.nix Normal file
View File

@@ -0,0 +1,18 @@
{ stdenv
, lib
, ...
}:
stdenv.mkDerivation (finalAttrs: {
pname = "hub";
version = "1.0.0";
src = fetchGit {
url = "git@github.com:oberprofis/hub.git";
ref = "master";
rev = "39cadbabb0a9b038aa40a586178323b2981595dd";
};
installPhase = ''
mkdir -p $out
cp -r src/* $out
'';
})