1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/marshmallow-polyfield/default.nix
Drew Risinger f87157e0d3 pythonPackages.marshmallow-polyfield: init at 5.7
This python package allows polymorphic data fields in marshmallow
serialization/deserialization schema.

This is a requirement for qiskit.
2020-02-12 08:40:31 -08:00

34 lines
788 B
Nix

{ buildPythonPackage
, fetchFromGitHub
, lib
, marshmallow
# Check Inputs
, pytestCheckHook
, pytestcov
}:
buildPythonPackage rec {
pname = "marshmallow-polyfield";
version = "5.7";
src = fetchFromGitHub {
owner = "Bachmann1234";
repo = pname;
rev = "v${version}";
sha256 = "15yx8ib5yx1xx6kq8wnfdmv9zm43k7y33c6zpq5rba6a30v4lcnd";
};
propagatedBuildInputs = [
marshmallow
];
# setuptools check can run, but won't find tests
checkInputs = [ pytestCheckHook pytestcov ];
meta = with lib; {
description = "An unofficial extension to Marshmallow to allow for polymorphic fields";
homepage = "https://github.com/Bachmann1234/marshmallow-polyfield";
license = licenses.asl20;
maintainers = with maintainers; [ drewrisinger ];
};
}