about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/ba/base16-shell-preview/package.nix
blob: bd1c8508023df08519afbd9e1a140d1cf5655f9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ lib
, python3Packages
, fetchPypi
}:

let
  pname = "base16-shell-preview";
  version = "1.0.0";
in
python3Packages.buildPythonApplication {
  inherit pname version;

  src = 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 ];
  };
}