nix-packages/python3.11-django-sass-processor.nix

32 lines
592 B
Nix
Raw Normal View History

{
fetchFromGitHub ,
stdenv ,
} :
with stdenv ;
mkDerivation {
pname = "python-django-sass-processor" ;
version = "2024-05-29-0d8cb67" ;
2025-03-02 19:52:08 +01:00
src = fetchFromGitHub {
owner = "jrief" ;
repo = "django-sass-processor" ;
rev = "0d8cb672aab9ecc45e8492794530ca847ce24547" ;
hash = "sha256-Z3UzzkHlMNiyhj7YPRDgAX0437BywPG/waNSPoNiKLo=" ;
} ;
2025-03-02 19:52:08 +01:00
dontPatch = true ;
dontConfigure = true ;
dontBuild = true ;
installPhase = ''
runHook preInstall
2025-03-02 19:52:08 +01:00
mkdir -p $out/lib/python3.11/site-packages
cp -r $src/sass_processor $out/lib/python3.11/site-packages/
2025-03-02 19:52:08 +01:00
runHook postInstall
'' ;
}