summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pymeta3/default.nix
blob: f9a5e668ac4b2c332234dda1c912135a8bbb95ab (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
{
  buildPythonPackage,
  fetchPypi,
  lib,
}:
buildPythonPackage rec {
  pname = "pymeta3";
  version = "0.5.1";
  format = "setuptools";

  src = fetchPypi {
    inherit version;
    pname = "PyMeta3";
    hash = "sha256-GL2jJtmpu/WHv8DuC8loZJZNeLBnKIvPVdTZhoHQW8s=";
  };

  doCheck = false; # Tests do not support Python3

  pythonImportsCheck = [ "pymeta" ];

  meta = {
    description = "Pattern-matching language based on OMeta for Python 3 and 2";
    homepage = "https://github.com/wbond/pymeta3";
    changelog = "https://github.com/wbond/pymeta3/releases/tag/${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [
      jfly
      matusf
    ];
  };
}