3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #225697 from fabaff/pytoml-remove

python310Packages.pytoml: remove
This commit is contained in:
Fabian Affolter 2023-04-14 00:17:14 +02:00 committed by GitHub
commit 23498545ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 36 deletions

View file

@ -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 ];
};
}

View file

@ -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

View file

@ -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 { };