Add dependencies for all Python packages, use release tags if latest
This commit is contained in:
parent
8f48f18f4a
commit
b4248670b8
5 changed files with 81 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue