Add dependencies for all Python packages, use release tags if latest

This commit is contained in:
Reinout Meliesie 2025-03-03 17:52:57 +01:00
parent 8f48f18f4a
commit b4248670b8
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
5 changed files with 81 additions and 7 deletions

View file

@ -4,6 +4,7 @@
stdenv ,
} :
with pkgs . python311Packages ;
with stdenv ;
mkDerivation {
@ -25,7 +26,13 @@ mkDerivation {
runHook preInstall
mkdir -p $out/lib/python3.11/site-packages
ln -s ${ pkgs . python311Packages . django }/lib/python3.11/site-packages/* $out/lib/python3.11/site-packages/
# Dependencies
ln -s ${django}/lib/python3.11/site-packages/* $out/lib/python3.11/site-packages/
# The package itself
cp -r $src/src/file_resubmit $out/lib/python3.11/site-packages/
runHook postInstall