Unverified Commit 23498545 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #225697 from fabaff/pytoml-remove

python310Packages.pytoml: remove
parents c56755b7 b0d05ebd
Loading
Loading
Loading
Loading
+0 −34
Original line number Diff line number Diff line
{ 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 ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -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
+0 −2
Original line number Diff line number Diff line
@@ -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 { };