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

buildPythonPackage rec {
  pname = "rnc2rng";
  version = "2.6.6";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "5a01d157857b5f010a94167e7092cc49efe2531d58e013f12c4e60b8c4df78f1";
  };

  propagatedBuildInputs = [ rply ];

  checkPhase = "${python.interpreter} test.py";

  meta = with lib; {
    homepage = "https://github.com/djc/rnc2rng";
    description = "Compact to regular syntax conversion library for RELAX NG schemata";
    license = licenses.mit;
    maintainers = with maintainers; [ bcdarwin ];
  };
}