Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
704 B · 34 lines
Nix
at litex
1234567891011121314151617181920212223242526272829303132333435{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, setuptools}:
buildPythonPackage rec { pname = "pypng"; version = "0.0.21"; format = "pyproject";
src = fetchFromGitHub { owner = "drj11"; repo = "pypng"; rev = "refs/tags/${pname}-${version}"; hash = "sha256-JU1GCSTm2s6Kczn6aRcF5DizPJVpizNtnAMJxTBi9vo="; };
nativeBuildInputs = [ setuptools ];
pythonImportsCheck = [ "png" ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; { description = "Pure Python library for PNG image encoding/decoding"; homepage = "https://github.com/drj11/pypng"; license = licenses.mit; maintainers = with maintainers; [ prusnak ]; };}