nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildPythonPackage, fetchPypi
2, pytest
3}:
4
5buildPythonPackage rec {
6 pname = "nocaselist";
7 version = "1.0.5";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "sha256-4cEsoq6dNFs0lI8sj2DjiUYZ4r4u0otOzF5/HeoRfR0=";
12 };
13
14 checkInputs = [
15 pytest
16 ];
17
18 pythonImportsCheck = [
19 "nocaselist"
20 ];
21
22 meta = with lib; {
23 description = "A case-insensitive list for Python";
24 homepage = "https://github.com/pywbem/nocaselist";
25 license = licenses.lgpl21Plus;
26 maintainers = with maintainers; [ freezeboy ];
27 };
28}