Add bw-file-resubmit & django-sass-processor Python 3.11 packages
This commit is contained in:
parent
76351bf4f4
commit
17683f1e1f
2 changed files with 54 additions and 0 deletions
27
python3.11-bw-file-resubmit.nix
Normal file
27
python3.11-bw-file-resubmit.nix
Normal 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
|
||||||
|
'' ;
|
||||||
|
}
|
27
python3.11-django-sass-processor.nix
Normal file
27
python3.11-django-sass-processor.nix
Normal 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
|
||||||
|
'' ;
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue