-
-
Save betaboon/07b1075ec34d2af47eecb2ebf92b8d41 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv | |
, fetchFromGitHub | |
, mono | |
, makeWrapper | |
}: | |
stdenv.mkDerivation { | |
name = "sass"; | |
src = fetchFromGitHub { | |
owner = "KnightOS"; | |
repo = "sass"; | |
rev = "b638f95"; | |
sha256 = "0vna5jbn3qsl52izsm0k5p7g6zl2hksdx4m80rr759rf3dhh3g6r"; | |
}; | |
buildInputs = [ mono makeWrapper ]; | |
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ]; | |
hardeningDisable = [ "format" ]; | |
installPhase = '' | |
mkdir -p $out/{bin,lib/sass} | |
cp sass/bin/Debug/sass.exe $out/lib/sass | |
makeWrapper "${mono}/bin/mono" $out/bin/sass \ | |
--add-flags "$out/lib/sass/sass.exe" | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment