Add django-imagekit Python 3.11 package
This commit is contained in:
parent
17683f1e1f
commit
c3b621e43b
1 changed files with 27 additions and 0 deletions
27
python3.11-django-imagekit.nix
Normal file
27
python3.11-django-imagekit.nix
Normal 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
|
||||||
|
'' ;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue