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

28 lines
666 B
Nix
Raw Normal View History

2015-05-07 15:51:40 +02:00
{ stdenv, fetchurl, autoreconfHook, libsass }:
stdenv.mkDerivation rec {
2015-05-07 15:51:40 +02:00
name = "sassc-${version}";
2017-07-29 19:34:11 +02:00
version = "3.4.5";
2015-05-07 15:51:40 +02:00
src = fetchurl {
url = "https://github.com/sass/sassc/archive/${version}.tar.gz";
2017-07-29 19:34:11 +02:00
sha256 = "1xk4kmmvziz9sal3swpqa10q0s289xjpcz8aggmly8mvxvmngsi9";
};
2015-05-07 15:51:40 +02:00
patchPhase = ''
export SASSC_VERSION=${version}
'';
2015-05-07 15:51:40 +02:00
nativeBuildInputs = [ autoreconfHook ];
2015-05-07 15:51:40 +02:00
buildInputs = [ libsass ];
meta = with stdenv.lib; {
description = "A front-end for libsass";
homepage = https://github.com/sass/sassc/;
2015-05-07 15:51:40 +02:00
license = licenses.mit;
2015-06-01 07:28:18 +02:00
maintainers = with maintainers; [ codyopel pjones ];
platforms = platforms.unix;
};
}