nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 41 lines 777 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoreconfHook, 6 libsass, 7}: 8 9stdenv.mkDerivation rec { 10 pname = "sassc"; 11 version = "3.6.2"; # also check libsass for updates 12 13 src = fetchFromGitHub { 14 owner = "sass"; 15 repo = "sassc"; 16 rev = version; 17 sha256 = "sha256-jcs3+orRqKt9C3c2FTdeaj4H2rBP74lW3HF8CHSm7lQ="; 18 }; 19 20 postPatch = '' 21 export SASSC_VERSION=${version} 22 ''; 23 24 nativeBuildInputs = [ autoreconfHook ]; 25 26 buildInputs = [ libsass ]; 27 28 enableParallelBuilding = true; 29 30 meta = with lib; { 31 description = "Front-end for libsass"; 32 homepage = "https://github.com/sass/sassc/"; 33 license = licenses.mit; 34 mainProgram = "sassc"; 35 maintainers = with maintainers; [ 36 codyopel 37 pjones 38 ]; 39 platforms = platforms.unix; 40 }; 41}