depot/third_party/nixpkgs/pkgs/development/python-modules/railroad-diagrams/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

26 lines
635 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "railroad-diagrams";
version = "1.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "8a1ec227666be2000e76794aa740f77987f1586077aae4d090d2633b3064c976";
};
# this is a dependency of pyparsing, which is a dependency of pytest
doCheck = false;
pythonImportsCheck = [ "railroad" ];
meta = with lib; {
description = "Generate SVG railroad syntax diagrams, like on JSON.org";
homepage = "https://github.com/tabatkins/railroad-diagrams";
license = licenses.cc0;
maintainers = with maintainers; [ jonringer ];
};
}