nixos-configs/scopedPackages/dracula/bat.nix
matt1432 13453f6839
All checks were successful
Discord / discord commits (push) Has been skipped
docs: add meta to all scoped packages
2025-02-18 15:19:08 -05:00

26 lines
438 B
Nix

{
# nix build inputs
lib,
stdenv,
mkVersion,
bat-theme-src,
...
}:
stdenv.mkDerivation {
pname = "dracula-bat";
version = mkVersion bat-theme-src;
src = bat-theme-src;
installPhase = ''
cat ./Dracula.tmTheme > $out
'';
meta = {
license = lib.licenses.mit;
homepage = "https://github.com/matt1432/bat";
description = ''
Dark theme for bat based on the Dracula Sublime theme.
'';
};
}