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,7 +8,7 @@ with stdenv ;
mkDerivation {
pname = "python-django-pgtrigger" ;
version = "2024-12-24-fa2155e" ;
src = fetchFromGitHub {
owner = "ambitioneng" ;
repo = "django-pgtrigger" ;
@ -16,14 +16,16 @@ mkDerivation {
hash = "sha256-K+JjAermtSiVUnPbtyabpQN2ghnRIkwt329Ytp8zeQk=" ;
} ;
dontPatch = true ;
dontConfigure = true ;
dontBuild = true ;
installPhase = ''
runHook preInstall
mkdir -p $out/lib/python3.11/site-packages
cp -r $src/pgtrigger $out/lib/python3.11/site-packages/
runHook postInstall
'' ;
}