about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/dek/default.nix
blob: 147cc40e316b207a8ba0988683a371b14d8f68db (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
37
38
39
40
41
42
43
44
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, xmod
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "dek";
  version = "1.4.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "rec";
    repo = "dek";
    rev = "v${version}";
    hash = "sha256-DYODdImTRCukGmGbkZ+9TQeI9DYaeRd/EHS6VND5IDs=";
  };

  build-system = [
    poetry-core
  ];

  dependencies = [
    xmod
  ];

  nativeBuildInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "dek"
  ];

  meta = with lib; {
    description = "The decorator-decorator";
    homepage = "https://github.com/rec/dek";
    changelog = "https://github.com/rec/dek/blob/${src.rev}/CHANGELOG";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}