mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
python3Packages.pymarshal: init at 2.2.0
Co-authored-by: Jonathan Ringer <jonringer117@gmail.com>
This commit is contained in:
parent
94a8d38dcd
commit
872ccff6c2
2 changed files with 53 additions and 0 deletions
51
pkgs/development/python-modules/pymarshal/default.nix
Normal file
51
pkgs/development/python-modules/pymarshal/default.nix
Normal file
|
@ -0,0 +1,51 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, bson
|
||||
, pytest
|
||||
, pytest-cov
|
||||
, pytest-runner
|
||||
, pytestCheckHook
|
||||
, pyyaml
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pymarshal";
|
||||
version = "2.2.0";
|
||||
disabled = pythonOlder "3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stargateaudio";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "sha256-Ds8JV2mtLRcKXBvPs84Hdj3MxxqpeV5muKCSlAFCj1A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
pytest-runner
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bson
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
bson
|
||||
pytest
|
||||
pytest-cov
|
||||
pyyaml
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "test" ];
|
||||
|
||||
meta = {
|
||||
description = "Python data serialization library";
|
||||
homepage = "https://github.com/stargateaudio/pymarshal";
|
||||
maintainers = with lib.maintainers; [ yuu ];
|
||||
license = lib.licenses.bsd2;
|
||||
};
|
||||
}
|
|
@ -6630,6 +6630,8 @@ in {
|
|||
|
||||
pymanopt = callPackage ../development/python-modules/pymanopt { };
|
||||
|
||||
pymarshal = callPackage ../development/python-modules/pymarshal { };
|
||||
|
||||
pymata-express = callPackage ../development/python-modules/pymata-express { };
|
||||
|
||||
pymatgen = callPackage ../development/python-modules/pymatgen { };
|
||||
|
|
Loading…
Reference in a new issue