mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
4b43f9e588
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - ran `/nix/store/jw8q07zqpmpzny6qz3zx2slxjng7lf9i-sassc-3.5.0/bin/sassc -h` got 0 exit code - ran `/nix/store/jw8q07zqpmpzny6qz3zx2slxjng7lf9i-sassc-3.5.0/bin/sassc --help` got 0 exit code - ran `/nix/store/jw8q07zqpmpzny6qz3zx2slxjng7lf9i-sassc-3.5.0/bin/sassc -v` and found version 3.5.0 - ran `/nix/store/jw8q07zqpmpzny6qz3zx2slxjng7lf9i-sassc-3.5.0/bin/sassc --version` and found version 3.5.0 - ran `/nix/store/jw8q07zqpmpzny6qz3zx2slxjng7lf9i-sassc-3.5.0/bin/sassc -h` and found version 3.5.0 - ran `/nix/store/jw8q07zqpmpzny6qz3zx2slxjng7lf9i-sassc-3.5.0/bin/sassc --help` and found version 3.5.0 - found 3.5.0 with grep in /nix/store/jw8q07zqpmpzny6qz3zx2slxjng7lf9i-sassc-3.5.0 - found 3.5.0 in filename of file in /nix/store/jw8q07zqpmpzny6qz3zx2slxjng7lf9i-sassc-3.5.0
28 lines
666 B
Nix
28 lines
666 B
Nix
{ stdenv, fetchurl, autoreconfHook, libsass }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "sassc-${version}";
|
|
version = "3.5.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/sass/sassc/archive/${version}.tar.gz";
|
|
sha256 = "0hl0j4ky13fzcv2y7w352gaq8fjmypwgazf7ddqdv0sbj8qlxx96";
|
|
};
|
|
|
|
patchPhase = ''
|
|
export SASSC_VERSION=${version}
|
|
'';
|
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ libsass ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A front-end for libsass";
|
|
homepage = https://github.com/sass/sassc/;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ codyopel pjones ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|