1 { stdenv, fetchFromGitHub, lib }:
3 stdenv.mkDerivation rec {
4 pname = "calamares-nixos-extensions";
7 src = fetchFromGitHub {
9 repo = "calamares-nixos-extensions";
11 sha256 = "NAHUU0tQLu8c2dke1V0aM3mHrNgM8ekHSB2Fo9dQUk8=";
16 mkdir -p $out/{lib,share}/calamares
17 cp -r modules $out/lib/calamares/
18 cp -r config/* $out/share/calamares/
19 cp -r branding $out/share/calamares/
24 description = "Calamares modules for NixOS";
25 homepage = "https://github.com/NixOS/calamares-nixos-extensions";
26 license = with licenses; [ gpl3Plus bsd2 cc-by-40 cc-by-sa-40 cc0 ];
27 maintainers = with maintainers; [ vlinkz ];
28 platforms = platforms.linux;