mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 05:37:40 +03:00
base16-shell-preview: refactor
Also, take maintenace to myself.
This commit is contained in:
parent
1a250d7b10
commit
078f88f29d
@ -1,23 +1,28 @@
|
||||
{ lib, python3Packages }:
|
||||
{ lib
|
||||
, python3Packages
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
let
|
||||
pname = "base16-shell-preview";
|
||||
version = "1.0.0";
|
||||
in
|
||||
python3Packages.buildPythonApplication {
|
||||
inherit pname version;
|
||||
|
||||
src = python3Packages.fetchPypi {
|
||||
inherit version;
|
||||
pname = "base16_shell_preview";
|
||||
sha256 = "098f3z81g3acgcrisipz0nh17n9kx7ld6h8dg26qz3nx31pngsxd";
|
||||
pname = "${lib.replaceStrings ["-"] ["_"] pname}";
|
||||
hash = "sha256-retnbxjdjo+NeA1B0+jpM9kToAX/Rh0ze0yNF9AfDiU=";
|
||||
};
|
||||
|
||||
# No tests
|
||||
# If enabled, will attempt to run '__init__.py, and will fail with "/homeless-shelter" as HOME
|
||||
# If enabled, it will attempt to run '__init__.py, failing by trying to write
|
||||
# at "/homeless-shelter" as HOME
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Browse and preview Base16 Shell themes in your terminal";
|
||||
meta = {
|
||||
homepage = "https://github.com/nvllsvm/base16-shell-preview";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.rencire ];
|
||||
description = "Browse and preview Base16 Shell themes in your terminal";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user