Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 36 lines 847 B view raw
1{ 2 lib, 3 python3Packages, 4 fetchPypi, 5}: 6 7let 8 pname = "base16-shell-preview"; 9 version = "1.1.0"; 10in 11python3Packages.buildPythonApplication { 12 inherit pname version; 13 format = "pyproject"; 14 15 src = fetchPypi { 16 inherit version; 17 pname = "${lib.replaceStrings [ "-" ] [ "_" ] pname}"; 18 hash = "sha256-UWS1weiccSGqBU8grPAUKkuXb7qs5wliHVaPgdW4KtI="; 19 }; 20 21 build-system = with python3Packages; [ 22 setuptools 23 ]; 24 25 # If enabled, it will attempt to run '__init__.py, failing by trying to write 26 # at "/homeless-shelter" as HOME 27 doCheck = false; 28 29 meta = { 30 homepage = "https://github.com/nvllsvm/base16-shell-preview"; 31 description = "Browse and preview Base16 Shell themes in your terminal"; 32 mainProgram = "base16-shell-preview"; 33 license = lib.licenses.mit; 34 maintainers = with lib.maintainers; [ ]; 35 }; 36}