Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
822 B · 44 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445{ lib, buildPythonPackage, fetchFromGitHub, setuptools, pydantic, pytestCheckHook}:
buildPythonPackage rec { pname = "datauri"; version = "2.0.0"; format = "pyproject";
src = fetchFromGitHub { owner = "fcurella"; repo = "python-datauri"; rev = "refs/tags/v${version}"; hash = "sha256-k4tlWRasGa2oQykCD9QJl65UAoZQMJVdyCfqlUBBgqY="; };
nativeBuildInputs = [ setuptools ];
pythonImportsCheck = [ "datauri" ];
nativeCheckInputs = [ pydantic pytestCheckHook ];
disabledTests = [ "test_pydantic" # incompatible with pydantic v2 ];
meta = with lib; { description = "Data URI manipulation made easy."; homepage = "https://github.com/fcurella/python-datauri"; license = licenses.unlicense; maintainers = with maintainers; [ yuu ]; };}