Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
864 B · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchFromGitHub, python, pythonOlder, pillow,}:
buildPythonPackage rec { pname = "icnsutil"; version = "1.1.0"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "relikd"; repo = "icnsutil"; tag = "v${version}"; hash = "sha256-tiq8h6s2noWLBIOIWcj8jfSqJFN01ee2uoHN4aFwn7s="; };
dependencies = [ pillow ];
checkPhase = '' ${python.interpreter} tests/test_icnsutil.py ${python.interpreter} tests/test_cli.py '';
pythonImportsCheck = [ "icnsutil" ];
meta = with lib; { description = "Create and extract .icns files"; homepage = "https://github.com/relikd/icnsutil"; changelog = "https://github.com/relikd/icnsutil/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ reckenrode ]; };}