1 { stdenv, fetchFromGitHub, lib }:
3 stdenv.mkDerivation (finalAttrs: {
4 pname = "calamares-nixos-extensions";
7 src = fetchFromGitHub {
9 repo = "calamares-nixos-extensions";
10 rev = finalAttrs.version;
11 hash = "sha256-/WdSMqtF8DKplsDx00l8HYijYvOUBb55Opv3Z8+T6QU=";
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;