nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 830 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pyyaml, 6}: 7 8buildPythonPackage rec { 9 pname = "pycritty"; 10 version = "0.4.0"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-Lh2zAEJTyzI8dJTNuyaf7gzhySMpui+CF9qRiubwFhE="; 16 }; 17 18 postPatch = '' 19 # remove custom install 20 substituteInPlace setup.py \ 21 --replace "'install': PostInstallHook," "" 22 ''; 23 24 propagatedBuildInputs = [ pyyaml ]; 25 26 # The package does not include any tests to run 27 doCheck = false; 28 29 pythonImportsCheck = [ "pycritty" ]; 30 31 meta = { 32 description = "CLI tool for changing your alacritty configuration on the fly"; 33 mainProgram = "pycritty"; 34 homepage = "https://github.com/antoniosarosi/pycritty"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ jperras ]; 37 }; 38}