nixpkgs/pkgs/misc/base16-shell-preview/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
729 B
Nix
Raw Normal View History

{ lib
, python3Packages
}:
2019-04-15 01:31:23 +00:00
let
2019-04-15 01:31:23 +00:00
pname = "base16-shell-preview";
2021-09-04 02:09:15 +00:00
version = "1.0.0";
in
python3Packages.buildPythonApplication {
inherit pname version;
2019-04-15 01:31:23 +00:00
src = python3Packages.fetchPypi {
inherit version;
pname = "${lib.replaceStrings ["-"] ["_"] pname}";
hash = "sha256-retnbxjdjo+NeA1B0+jpM9kToAX/Rh0ze0yNF9AfDiU=";
2019-04-15 01:31:23 +00:00
};
# If enabled, it will attempt to run '__init__.py, failing by trying to write
# at "/homeless-shelter" as HOME
2019-04-15 01:31:23 +00:00
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 ];
2019-04-15 01:31:23 +00:00
};
}