Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
825 B
Nix
37 lines
825 B
Nix
{
|
|
lib,
|
|
python3Packages,
|
|
fetchPypi,
|
|
}:
|
|
|
|
let
|
|
pname = "base16-shell-preview";
|
|
version = "1.1.0";
|
|
in
|
|
python3Packages.buildPythonApplication {
|
|
inherit pname version;
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "${lib.replaceStrings [ "-" ] [ "_" ] pname}";
|
|
hash = "sha256-UWS1weiccSGqBU8grPAUKkuXb7qs5wliHVaPgdW4KtI=";
|
|
};
|
|
|
|
build-system = with python3Packages; [
|
|
setuptools
|
|
];
|
|
|
|
# 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";
|
|
mainProgram = "base16-shell-preview";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|