Disable unused phases & fix formatting

This commit is contained in:
Reinout Meliesie 2025-03-02 19:52:08 +01:00
parent e4b21d95b2
commit 0536ffc1a8
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
4 changed files with 26 additions and 12 deletions

View file

@ -8,20 +8,24 @@ with stdenv ;
mkDerivation {
pname = "python-django-imagekit" ;
version = "2024-07-22-4cbbc52" ;
src = fetchFromGitHub {
owner = "matthewwithanm" ;
repo = "django-imagekit" ;
rev = "4cbbc52fabfd99a6306cdbb8ab2602bb0a0190a9" ;
hash = "sha256-QYWhXh404JNAZN7kXYhsPQpFpyBA/MehxJOxdDKX0Mc=" ;
} ;
dontPatch = true ;
dontConfigure = true ;
dontBuild = true
installPhase = ''
runHook preInstall
mkdir -p $out/lib/python3.11/site-packages
cp -r $src/imagekit $out/lib/python3.11/site-packages/
runHook postInstall
'' ;
}