connman-gtk: fix FTBFS with GCC-14 (incompatible pointer types) (#376077)
[NixPkgs.git] / pkgs / development / python-modules / railroad-diagrams / default.nix
blobb8970bc1ccd4be2ae9c7459bc6632c09abfdf9fe
2   lib,
3   buildPythonPackage,
4   fetchPypi,
5   pythonOlder,
6 }:
8 buildPythonPackage rec {
9   pname = "railroad-diagrams";
10   version = "3.0.1";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-qRMyuskAyzw2czH6m2mfCJe8+GtyZPZUWGdd9DDQTOM=";
18   };
20   # This is a dependency of pyparsing, which is a dependency of pytest
21   doCheck = false;
23   pythonImportsCheck = [ "railroad" ];
25   meta = with lib; {
26     description = "Module to generate SVG railroad syntax diagrams";
27     homepage = "https://github.com/tabatkins/railroad-diagrams";
28     license = licenses.cc0;
29     maintainers = [ ];
30   };