1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/development/tools/sassc/default.nix

28 lines
666 B
Nix
Raw Normal View History

2015-05-07 14:51:40 +01:00
{ stdenv, fetchurl, autoreconfHook, libsass }:
stdenv.mkDerivation rec {
2015-05-07 14:51:40 +01:00
name = "sassc-${version}";
2015-06-01 06:28:18 +01:00
version = "3.2.4";
2015-05-07 14:51:40 +01:00
src = fetchurl {
url = "https://github.com/sass/sassc/archive/${version}.tar.gz";
2015-06-01 06:28:18 +01:00
sha256 = "0ksdfv9ff5smba4vbwr1wqf3bp908rnprkp6lfssj85h9ciqq896";
};
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;
};
}