01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
30 lines
833 B
Nix
30 lines
833 B
Nix
{ stdenv, fetchFromGitHub, lib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "calamares-nixos-extensions";
|
|
version = "0.3.11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "NixOS";
|
|
repo = "calamares-nixos-extensions";
|
|
rev = version;
|
|
sha256 = "NAHUU0tQLu8c2dke1V0aM3mHrNgM8ekHSB2Fo9dQUk8=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
mkdir -p $out/{lib,share}/calamares
|
|
cp -r modules $out/lib/calamares/
|
|
cp -r config/* $out/share/calamares/
|
|
cp -r branding $out/share/calamares/
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Calamares modules for NixOS";
|
|
homepage = "https://github.com/NixOS/calamares-nixos-extensions";
|
|
license = with licenses; [ gpl3Plus bsd2 cc-by-40 cc-by-sa-40 cc0 ];
|
|
maintainers = with maintainers; [ vlinkz ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|