depot/third_party/nixpkgs/pkgs/misc/base16-shell-preview/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

28 lines
729 B
Nix

{ lib
, python3Packages
}:
let
pname = "base16-shell-preview";
version = "1.0.0";
in
python3Packages.buildPythonApplication {
inherit pname version;
src = python3Packages.fetchPypi {
inherit version;
pname = "${lib.replaceStrings ["-"] ["_"] pname}";
hash = "sha256-retnbxjdjo+NeA1B0+jpM9kToAX/Rh0ze0yNF9AfDiU=";
};
# If enabled, it will attempt to run '__init__.py, failing by trying to write
# at "/homeless-shelter" as HOME
doCheck = false;
meta = {
homepage = "https://github.com/nvllsvm/base16-shell-preview";
description = "Browse and preview Base16 Shell themes in your terminal";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ AndersonTorres ];
};
}