nixpkgs/pkgs/development/tools/sassc/default.nix

30 lines
692 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, autoreconfHook, libsass }:
stdenv.mkDerivation rec {
2019-05-24 11:15:14 +00:00
pname = "sassc";
version = "3.6.2"; # also check libsass for updates
2019-05-24 11:15:14 +00:00
src = fetchFromGitHub {
owner = "sass";
repo = pname;
rev = version;
sha256 = "sha256-jcs3+orRqKt9C3c2FTdeaj4H2rBP74lW3HF8CHSm7lQ=";
};
preConfigure = ''
2015-05-07 13:51:40 +00:00
export SASSC_VERSION=${version}
'';
2015-05-07 13:51:40 +00:00
nativeBuildInputs = [ autoreconfHook ];
2015-05-07 13:51:40 +00:00
buildInputs = [ libsass ];
meta = with lib; {
description = "A front-end for libsass";
homepage = "https://github.com/sass/sassc/";
2015-05-07 13:51:40 +00:00
license = licenses.mit;
2015-06-01 05:28:18 +00:00
maintainers = with maintainers; [ codyopel pjones ];
platforms = platforms.unix;
};
}