Commit 28d7b2a8 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python311Packages.namex: init at 0.0.8

parent 63aceac7
Loading
Loading
Loading
Loading
+36 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  wheel,
}:

buildPythonPackage rec {
  pname = "namex";
  version = "0.0.8";
  pyproject = true;

  # Not using fetchFromGitHub because the repo does not have any tag/release.
  src = fetchPypi {
    inherit pname version;
    hash = "sha256-MqUPbFZcC7EKp2KYyVlQer3A6FDv4IXcOPNED8s6qQs=";
  };

  build-system = [
    setuptools
    wheel
  ];

  pythonImportsCheck = [ "namex" ];

  # This packages has no tests.
  doCheck = false;

  meta = {
    description = "A simple utility to separate the implementation of your Python package and its public API surface";
    homepage = "https://github.com/fchollet/namex";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ GaetanLepage ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -8597,6 +8597,8 @@ self: super: with self; {
  names = callPackage ../development/python-modules/names { };
  namex = callPackage ../development/python-modules/namex { };
  name-that-hash = callPackage ../development/python-modules/name-that-hash { };
  nameko = callPackage ../development/python-modules/nameko { };