about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/calmjs-types/default.nix
blob: 897ddaf79e0c7cc8ee6c8bdb935433f9c68bd961 (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
{ lib
, fetchPypi
, buildPythonPackage
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "calmjs-types";
  version = "1.0.1";
  format = "setuptools";

  src = fetchPypi {
    pname = "calmjs.types";
    inherit version;
    sha256 = "sha256-EGWYv9mx3RPqs9dnB5t3Bu3hiujL2y/XxyMP7JkjjAQ=";
    extension = "zip";
  };

  checkInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "calmjs.types" ];

  meta = with lib; {
    description = "Types for the calmjs framework";
    homepage = "https://github.com/calmjs/calmjs.types";
    license = licenses.mit;
    maintainers = with maintainers; [ onny ];
  };
}