2024-06-08 23:40:44 -04:00
|
|
|
{
|
2025-02-18 15:19:08 -05:00
|
|
|
# nix build inputs
|
|
|
|
lib,
|
2024-06-08 23:40:44 -04:00
|
|
|
stdenv,
|
2025-02-18 15:19:08 -05:00
|
|
|
mkVersion,
|
|
|
|
bat-theme-src,
|
2024-06-08 23:40:44 -04:00
|
|
|
...
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "dracula-bat";
|
2024-06-13 22:27:54 -04:00
|
|
|
version = mkVersion bat-theme-src;
|
2024-06-08 23:40:44 -04:00
|
|
|
|
|
|
|
src = bat-theme-src;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
cat ./Dracula.tmTheme > $out
|
|
|
|
'';
|
2025-02-18 15:19:08 -05:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
homepage = "https://github.com/matt1432/bat";
|
|
|
|
description = ''
|
|
|
|
Dark theme for bat based on the Dracula Sublime theme.
|
|
|
|
'';
|
|
|
|
};
|
2024-06-08 23:40:44 -04:00
|
|
|
}
|