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
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
fetchFromGitHub ,
|
||||
pkgs ,
|
||||
stdenv ,
|
||||
} :
|
||||
|
||||
with pkgs . python311Packages ;
|
||||
with stdenv ;
|
||||
|
||||
mkDerivation {
|
||||
|
@ -24,6 +26,15 @@ mkDerivation {
|
|||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib/python3.11/site-packages
|
||||
|
||||
# Dependencies
|
||||
|
||||
ln -s ${django}/lib/python3.11/site-packages/* $out/lib/python3.11/site-packages/
|
||||
ln -s ${django-appconf}/lib/python3.11/site-packages/* $out/lib/python3.11/site-packages/
|
||||
ln -s ${pilkit}/lib/python3.11/site-packages/* $out/lib/python3.11/site-packages/
|
||||
|
||||
# The package itself
|
||||
|
||||
cp -r $src/imagekit $out/lib/python3.11/site-packages/
|
||||
|
||||
runHook postInstall
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue