nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 crashtest,
5 fetchFromGitHub,
6 pastel,
7 poetry-core,
8 pylev,
9 pytest-mock,
10 pytestCheckHook,
11}:
12
13buildPythonPackage rec {
14 pname = "clikit";
15 version = "0.6.2";
16 pyproject = true;
17
18 src = fetchFromGitHub {
19 owner = "sdispater";
20 repo = "clikit";
21 tag = version;
22 hash = "sha256-xAsUNhVQBjtSFHyjjnicAKRC3+Tdn3AdGDUYhmOOIdA=";
23 };
24
25 pythonRelaxDeps = [ "crashtest" ];
26
27 build-system = [ poetry-core ];
28
29 dependencies = [
30 crashtest
31 pastel
32 pylev
33 ];
34
35 nativeCheckInputs = [
36 pytest-mock
37 pytestCheckHook
38 ];
39
40 pythonImportsCheck = [ "clikit" ];
41
42 meta = {
43 description = "Group of utilities to build beautiful and testable command line interfaces";
44 homepage = "https://github.com/sdispater/clikit";
45 changelog = "https://github.com/sdispater/clikit/blob/${version}/CHANGELOG.md";
46 license = lib.licenses.mit;
47 maintainers = with lib.maintainers; [ jakewaksbaum ];
48 };
49}