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

30 lines
658 B
Nix
Raw Normal View History

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