Add bw-file-resubmit & django-sass-processor Python 3.11 packages

This commit is contained in:
Reinout Meliesie 2025-03-02 17:52:21 +01:00
parent 76351bf4f4
commit 17683f1e1f
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
2 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{
fetchFromGitHub ,
stdenv ,
} :
with stdenv ;
mkDerivation {
pname = "python-bw-file-resubmit" ;
version = "2023-11-08-0655eb2" ;
src = fetchFromGitHub {
owner = "bookwyrm-social" ;
repo = "bw-file-resubmit" ;
rev = "0655eb24d77b5440f0221df99d87bbb1ea588181" ;
hash = "sha256-RT3fF2oMsf0klUwMBJ02Dgdt2rsoB7A3SjiuyVuYU7A=" ;
} ;
installPhase = ''
runHook preInstall
mkdir -p $out/lib/python3.11/site-packages
cp -r $src/src/file_resubmit $out/lib/python3.11/site-packages/
runHook postInstall
'' ;
}

View file

@ -0,0 +1,27 @@
{
fetchFromGitHub ,
stdenv ,
} :
with stdenv ;
mkDerivation {
pname = "python-django-sass-processor" ;
version = "2024-05-29-0d8cb67" ;
src = fetchFromGitHub {
owner = "jrief" ;
repo = "django-sass-processor" ;
rev = "0d8cb672aab9ecc45e8492794530ca847ce24547" ;
hash = "sha256-Z3UzzkHlMNiyhj7YPRDgAX0437BywPG/waNSPoNiKLo=" ;
} ;
installPhase = ''
runHook preInstall
mkdir -p $out/lib/python3.11/site-packages
cp -r $src/sass_processor $out/lib/python3.11/site-packages/
runHook postInstall
'' ;
}