blob: 77f738eaacbf19ca8c024731fc6455ca09e55eab (
plain)
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,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "case-converter";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "chrisdoherty4";
repo = "python-case-converter";
tag = "v${finalAttrs.version}";
hash = "sha256-PS/9Ndl3oD9zimEf819dNoSAeNJPndVjT+dkfW7FIJs=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "caseconverter" ];
doCheck = true;
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Case conversion library for Python";
homepage = "https://github.com/chrisdoherty4/python-case-converter";
changelog = "https://github.com/chrisdoherty4/python-case-converter/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
})
|