mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
calamares-nixos-extensions: init at 0.3.8
This commit is contained in:
parent
2a88b7df51
commit
7481fa9135
30
pkgs/tools/misc/calamares-nixos-extensions/default.nix
Normal file
30
pkgs/tools/misc/calamares-nixos-extensions/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ stdenv, fetchFromGitHub, lib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "calamares-nixos-extensions";
|
||||
version = "0.3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "NixOS";
|
||||
repo = "calamares-nixos-extensions";
|
||||
rev = version;
|
||||
sha256 = "MtqAOwlY5euVNAGRl2pRkbg/OolJPNOSQcR4DS5gFz4=";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
@ -2855,6 +2855,7 @@ with pkgs;
|
||||
python = python3;
|
||||
boost = boost.override { enablePython = true; python = python3; };
|
||||
};
|
||||
calamares-nixos-extensions = callPackage ../tools/misc/calamares-nixos-extensions {};
|
||||
|
||||
calendar-cli = callPackage ../tools/networking/calendar-cli { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user