Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 57 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758{ lib, buildPythonPackage, defusedxml, fetchFromGitHub, lxml, poetry-core, pytestCheckHook, pythonOlder, xmldiff}:
buildPythonPackage rec { pname = "py-serializable"; version = "0.17.1"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "madpah"; repo = "serializable"; rev = "refs/tags/v${version}"; hash = "sha256-G7bIsvWdL4qVg4akJ2KtXVS10DiJSFUYEzyQSp9ry9o="; };
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [ defusedxml ];
nativeCheckInputs = [ lxml pytestCheckHook xmldiff ];
pythonImportsCheck = [ "serializable" ];
disabledTests = [ # AssertionError: '<ns0[155 chars]itle>The Phoenix "test_serializable_no_defaultNS" "test_serializable_with_defaultNS" ];
meta = with lib; { description = "Pythonic library to aid with serialisation and deserialisation to/from JSON and XML"; homepage = "https://github.com/madpah/serializable"; changelog = "https://github.com/madpah/serializable/blob/${version}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; };}