Add django-pgtrigger Python 3.11 package
This commit is contained in:
parent
394e89f109
commit
e8d306fc51
1 changed files with 27 additions and 0 deletions
27
python3.11-django-pgtrigger.nix
Normal file
27
python3.11-django-pgtrigger.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
fetchFromGitHub ,
|
||||
stdenv ,
|
||||
} :
|
||||
|
||||
with stdenv ;
|
||||
|
||||
mkDerivation {
|
||||
pname = "python-django-pgtrigger" ;
|
||||
version = "2024-12-24-fa2155e" ;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ambitioneng" ;
|
||||
repo = "django-pgtrigger" ;
|
||||
rev = "fa2155e630da8752a22a6c4ab81eb0e19f5979eb" ;
|
||||
hash = "" ;
|
||||
} ;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/lib/python3.11/site-packages
|
||||
cp -r $src/pgtrigger $out/lib/python3.11/site-packages/
|
||||
|
||||
runHook postInstall
|
||||
'' ;
|
||||
}
|
Loading…
Add table
Reference in a new issue