mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
python3Packages.monty: 2021.6.10 -> 2021.8.17
This commit is contained in:
parent
4fe4e8c859
commit
0c052fc8ba
1 changed files with 9 additions and 8 deletions
|
@ -5,6 +5,7 @@
|
|||
, msgpack
|
||||
, pytestCheckHook
|
||||
, numpy
|
||||
, pandas
|
||||
, pydantic
|
||||
, pymongo
|
||||
, ruamel_yaml
|
||||
|
@ -13,17 +14,21 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "monty";
|
||||
version = "2021.6.10";
|
||||
version = "2021.8.17";
|
||||
disabled = pythonOlder "3.5"; # uses type annotations
|
||||
|
||||
# No tests in Pypi
|
||||
src = fetchFromGitHub {
|
||||
owner = "materialsvirtuallab";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "01fhl4pl5gj4ahph4lxcm0fmglh0bjw6jz9ckmgzviasg4l1j6h4";
|
||||
sha256 = "0lg6d0qk6iv476rcn45p5f50kips5g9s709cxddwnk5yrz57c4d0";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tests/test_os.py \
|
||||
--replace 'self.assertEqual("/usr/bin/find", which("/usr/bin/find"))' '#'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
ruamel_yaml
|
||||
tqdm
|
||||
|
@ -33,15 +38,11 @@ buildPythonPackage rec {
|
|||
checkInputs = [
|
||||
pytestCheckHook
|
||||
numpy
|
||||
pandas
|
||||
pydantic
|
||||
pymongo
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
substituteInPlace tests/test_os.py \
|
||||
--replace 'self.assertEqual("/usr/bin/find", which("/usr/bin/find"))' '#'
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Serves as a complement to the Python standard library by providing a suite of tools to solve many common problems";
|
||||
longDescription = "
|
||||
|
|
Loading…
Reference in a new issue