depot/third_party/nixpkgs/pkgs/development/tools/sassc/default.nix
Default email 14910f5943 Project import generated by Copybara.
GitOrigin-RevId: 5aaed40d22f0d9376330b6fa413223435ad6fee5
2022-01-13 15:06:32 -05:00

29 lines
689 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, libsass }:
stdenv.mkDerivation rec {
pname = "sassc";
version = "3.6.2"; # also check libsass for updates
src = fetchFromGitHub {
owner = "sass";
repo = pname;
rev = version;
sha256 = "sha256-jcs3+orRqKt9C3c2FTdeaj4H2rBP74lW3HF8CHSm7lQ=";
};
postPatch = ''
export SASSC_VERSION=${version}
'';
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ libsass ];
meta = with lib; {
description = "A front-end for libsass";
homepage = "https://github.com/sass/sassc/";
license = licenses.mit;
maintainers = with maintainers; [ codyopel pjones ];
platforms = platforms.unix;
};
}