Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 40 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, fetchFromGitHub, marshmallow, pytestCheckHook, pythonOlder, flit-core,}:
buildPythonPackage rec { pname = "marshmallow-oneofschema"; version = "3.2.0"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "marshmallow-code"; repo = "marshmallow-oneofschema"; tag = version; hash = "sha256-Hk36wxZV1hVqIbqDOkEDlqABRKE6s/NyA/yBEXzj/yM="; };
nativeBuildInputs = [ flit-core ];
propagatedBuildInputs = [ marshmallow ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "marshmallow_oneofschema" ];
meta = with lib; { description = "Marshmallow library extension that allows schema (de)multiplexing"; changelog = "https://github.com/marshmallow-code/marshmallow-oneofschema/blob/${version}/CHANGELOG.rst"; homepage = "https://github.com/marshmallow-code/marshmallow-oneofschema"; license = licenses.mit; maintainers = with maintainers; [ ivan-tkatchev ]; };}