forked from mirrors/nixpkgs
Merge pull request #225697 from fabaff/pytoml-remove
python310Packages.pytoml: remove
This commit is contained in:
commit
23498545ab
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -237,6 +237,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
|
||||
|
|
|
@ -9746,8 +9746,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…
Reference in a new issue