site-max/default.nix

28 lines
589 B
Nix
Raw Normal View History

2018-09-16 11:08:11 +02:00
{ pkgs ? import <nixpkgs> {} }:
pkgs.stdenv.mkDerivation rec {
name= "site-max";
inherit (pkgs) sassc;
inherit (pkgs) stdenv;
2018-09-16 11:08:11 +02:00
src = ./.;
buildPhase = ''
${sassc}/bin/sassc -m auto -t compressed scss/creative.scss css/creative.css
'';
installPhase = ''
mkdir -p $out/
cp -R . $out/
'';
meta = {
description = "Site de présentation de Max Spiegel";
homepage = https://maxspiegel.fr/;
maintainers = with stdenv.lib.maintainers; [ nyanloutre ];
license = stdenv.lib.licenses.cc-by-nc-sa-40;
platforms = stdenv.lib.platforms.all;
2018-09-16 11:08:11 +02:00
};
}