diff options
author | Randy Eckenrode <randy@largeandhighquality.com> | 2022-02-22 23:40:01 -0500 |
---|---|---|
committer | Randy Eckenrode <randy@largeandhighquality.com> | 2022-02-23 16:55:11 -0500 |
commit | 88ac8585ba2e443c1075d28f3d7761f18193eb1b (patch) | |
tree | a96b94ae05be92c97bef41a0c97ed44b49d27e32 /pkgs/development/python-modules/icnsutil/default.nix | |
parent | 0869a7d57a1408758156fca0d58a03a0ecfdac45 (diff) |
icnsutil: init at 1.0.1
Diffstat (limited to 'pkgs/development/python-modules/icnsutil/default.nix')
-rw-r--r-- | pkgs/development/python-modules/icnsutil/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/icnsutil/default.nix b/pkgs/development/python-modules/icnsutil/default.nix new file mode 100644 index 0000000000000..641da36626d66 --- /dev/null +++ b/pkgs/development/python-modules/icnsutil/default.nix @@ -0,0 +1,30 @@ +{ lib +, python3Packages +, fetchFromGitHub +}: + +python3Packages.buildPythonPackage rec { + pname = "icnsutil"; + version = "1.0.1"; + + src = fetchFromGitHub { + owner = "relikd"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-TfQvAbP7iCpRQg2G+ejl245NCYo9DpYwMgiwY2BuJnY="; + }; + + doCheck = true; + + checkPhase = '' + ${python3Packages.python}/bin/python3 tests/test_icnsutil.py + ${python3Packages.python}/bin/python3 tests/test_cli.py + ''; + + meta = { + homepage = "https://github.com/relikd/icnsutil"; + description = "Create and extract .icns files."; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.reckenrode ]; + }; +} |