1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 02:46:28 +00:00
nixpkgs/pkgs/development/libraries/libsass/default.nix
2018-01-28 18:52:30 +01:00

26 lines
653 B
Nix

{ stdenv, fetchurl, autoreconfHook }:
stdenv.mkDerivation rec {
name = "libsass-${version}";
version = "3.4.8";
src = fetchurl {
url = "https://github.com/sass/libsass/archive/${version}.tar.gz";
sha256 = "0gq0mg42sq2nxiv25fh37frlr0iyqamh7shv83qixnqklqpkfi13";
};
patchPhase = ''
export LIBSASS_VERSION=${version}
'';
nativeBuildInputs = [ autoreconfHook ];
meta = with stdenv.lib; {
description = "A C/C++ implementation of a Sass compiler";
homepage = https://github.com/sass/libsass;
license = licenses.mit;
maintainers = with maintainers; [ codyopel offline ];
platforms = platforms.unix;
};
}