about summary refs log tree commit diff
path: root/pkgs/development/python-modules/namex/default.nix
blob: 4e7fadf847962d120f26155d91d3880291ef8812 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
  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 = "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 ];
  };
}