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