diff --git a/pkgs/data/themes/base16-schemes/default.nix b/pkgs/data/themes/base16-schemes/default.nix new file mode 100644 index 000000000000..b4e3b1c87d6f --- /dev/null +++ b/pkgs/data/themes/base16-schemes/default.nix @@ -0,0 +1,29 @@ +{ lib, stdenv, fetchFromGitHub, ... }: + +stdenv.mkDerivation (finalAttrs: { + pname = "base16-schemes"; + version = "unstable-2022-12-16"; + + src = fetchFromGitHub { + owner = "tinted-theming"; + repo = "base16-schemes"; + rev = "cf6bc892a24af19e11383adedc6ce7901f133ea7"; + sha256 = "sha256-U9pfie3qABp5sTr3M9ga/jX8C807FeiXlmEZnC4ZM58="; + }; + + installPhase = '' + runHook preInstall + + mkdir -p $out/share/themes/ + install *.yaml $out/share/themes/ + + runHook postInstall + ''; + + meta = with lib; { + description = "All the color schemes for use in base16 packages"; + homepage = finalAttrs.src.meta.homepage; + maintainers = [ maintainers.DamienCassou ]; + license = licenses.mit; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 38a80f7eff43..76b98cdda725 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27045,6 +27045,8 @@ with pkgs; barlow = callPackage ../data/fonts/barlow { }; + base16-schemes = callPackage ../data/themes/base16-schemes { }; + bgnet = callPackage ../data/documentation/bgnet { }; bibata-cursors = callPackage ../data/icons/bibata-cursors { attrs = python3Packages.attrs; };