Loading pkgs/development/python-modules/better-exceptions/default.nix 0 → 100644 +33 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, setuptools, }: buildPythonPackage rec { pname = "better-exceptions"; version = "0.3.3"; pyproject = true; src = fetchPypi { pname = "better_exceptions"; inherit version; hash = "sha256-5Oa8GERNXwTm6JSxA4Hl6SHT1UQkBBgWLH21fp6zRTs="; }; build-system = [ setuptools ]; pythonImportsCheck = [ "better_exceptions" ]; # As noted by @WolfangAukang, some check files need to be disabled because of various errors, same with some tests. # After disabling and running the build, no tests are collected. doCheck = false; meta = { description = "Pretty and more helpful exceptions in Python, automatically"; homepage = "https://github.com/qix-/better-exceptions"; license = lib.licenses.mit; maintainers = [ lib.maintainers.alex-nt ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1562,6 +1562,8 @@ self: super: with self; { betamax-serializers = callPackage ../development/python-modules/betamax-serializers { }; better-exceptions = callPackage ../development/python-modules/better-exceptions { }; betterproto = callPackage ../development/python-modules/betterproto { }; beziers = callPackage ../development/python-modules/beziers { }; Loading Loading
pkgs/development/python-modules/better-exceptions/default.nix 0 → 100644 +33 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, setuptools, }: buildPythonPackage rec { pname = "better-exceptions"; version = "0.3.3"; pyproject = true; src = fetchPypi { pname = "better_exceptions"; inherit version; hash = "sha256-5Oa8GERNXwTm6JSxA4Hl6SHT1UQkBBgWLH21fp6zRTs="; }; build-system = [ setuptools ]; pythonImportsCheck = [ "better_exceptions" ]; # As noted by @WolfangAukang, some check files need to be disabled because of various errors, same with some tests. # After disabling and running the build, no tests are collected. doCheck = false; meta = { description = "Pretty and more helpful exceptions in Python, automatically"; homepage = "https://github.com/qix-/better-exceptions"; license = lib.licenses.mit; maintainers = [ lib.maintainers.alex-nt ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -1562,6 +1562,8 @@ self: super: with self; { betamax-serializers = callPackage ../development/python-modules/betamax-serializers { }; better-exceptions = callPackage ../development/python-modules/better-exceptions { }; betterproto = callPackage ../development/python-modules/betterproto { }; beziers = callPackage ../development/python-modules/beziers { }; Loading