nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 pytestCheckHook,
6 setuptools,
7 setuptools-scm,
8}:
9
10buildPythonPackage rec {
11 pname = "nocasedict";
12 version = "2.2.0";
13 pyproject = true;
14
15 src = fetchFromGitHub {
16 owner = "pywbem";
17 repo = "nocasedict";
18 tag = version;
19 hash = "sha256-e3APYlmeoby0CGoEh4g6ZK27DwWi4EZdpwsRORxly+w=";
20 };
21
22 build-system = [
23 setuptools
24 setuptools-scm
25 ];
26
27 nativeCheckInputs = [ pytestCheckHook ];
28
29 pythonImportsCheck = [ "nocasedict" ];
30
31 meta = {
32 description = "Case-insensitive ordered dictionary for Python";
33 homepage = "https://github.com/pywbem/nocasedict";
34 changelog = "https://github.com/pywbem/nocasedict/blob/${src.tag}/docs/changes.rst";
35 license = lib.licenses.lgpl21Plus;
36 maintainers = [ ];
37 };
38}