Add django-imagekit Python 3.11 package

This commit is contained in:
Reinout Meliesie 2025-03-02 18:51:19 +01:00
parent 17683f1e1f
commit c3b621e43b
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -0,0 +1,27 @@
{
fetchFromGitHub ,
stdenv ,
} :
with stdenv ;
mkDerivation {
pname = "python-django-imagekit" ;
version = "2024-07-22-4cbbc52" ;
src = fetchFromGitHub {
owner = "matthewwithanm" ;
repo = "django-imagekit" ;
rev = "4cbbc52fabfd99a6306cdbb8ab2602bb0a0190a9" ;
hash = "" ;
} ;
installPhase = ''
runHook preInstall
mkdir -p $out/lib/python3.11/site-packages
cp -r $src/imagekit $out/lib/python3.11/site-packages/
runHook postInstall
'' ;
}