mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
python310Packages.pytoml: remove
The pytoml project is no longer being actively maintained. Consider using the toml package instead.
This commit is contained in:
parent
2e4c842b4f
commit
b0d05ebd40
3 changed files with 1 additions and 36 deletions
|
@ -1,34 +0,0 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, python
|
||||
, pytest
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pytoml";
|
||||
version = "0.1.20";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "avakar";
|
||||
repo = "pytoml";
|
||||
rev = "v${version}";
|
||||
fetchSubmodules = true; # ensure test submodule is available
|
||||
sha256 = "02hjq44zhh6z0fsbm3hvz34sav6fic90sjrw8g1pkdvskzzl46mz";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytest ];
|
||||
|
||||
checkPhase = ''
|
||||
${python.interpreter} test/test.py
|
||||
pytest test
|
||||
'';
|
||||
|
||||
|
||||
meta = with lib; {
|
||||
description = "A TOML parser/writer for Python";
|
||||
homepage = "https://github.com/avakar/pytoml";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ peterhoeg ];
|
||||
};
|
||||
}
|
|
@ -230,6 +230,7 @@ mapAliases ({
|
|||
python-subunit = subunit; # added 2021-09-10
|
||||
pytest_xdist = pytest-xdist; # added 2021-01-04
|
||||
python_simple_hipchat = python-simple-hipchat; # added 2021-07-21
|
||||
pytoml = throw "pytoml has been removed because it is unmaintained and is superseded by toml"; # Added 2023-04-11
|
||||
pytorch = torch; # added 2022-09-30
|
||||
pytorch-bin = torch-bin; # added 2022-09-30
|
||||
pytorchWithCuda = torchWithCuda; # added 2022-09-30
|
||||
|
|
|
@ -9748,8 +9748,6 @@ self: super: with self; {
|
|||
|
||||
pytmx = callPackage ../development/python-modules/pytmx { };
|
||||
|
||||
pytoml = callPackage ../development/python-modules/pytoml { };
|
||||
|
||||
pytomlpp = callPackage ../development/python-modules/pytomlpp { };
|
||||
|
||||
pytoolconfig = callPackage ../development/python-modules/pytoolconfig { };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue