nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchurl, autoreconfHook }:
2
3stdenv.mkDerivation rec {
4 name = "libsass-${version}";
5 version = "3.4.5";
6
7 src = fetchurl {
8 url = "https://github.com/sass/libsass/archive/${version}.tar.gz";
9 sha256 = "1j22138l5ymqjfj5zan9d2hipa3ahjmifgpjahqy1smlg5sb837x";
10 };
11
12 patchPhase = ''
13 export LIBSASS_VERSION=${version}
14 '';
15
16 nativeBuildInputs = [ autoreconfHook ];
17
18 meta = with stdenv.lib; {
19 description = "A C/C++ implementation of a Sass compiler";
20 homepage = https://github.com/sass/libsass;
21 license = licenses.mit;
22 maintainers = with maintainers; [ codyopel offline ];
23 platforms = platforms.unix;
24 };
25}