nixpkgs/pkgs/development/python-modules/cppheaderparser/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

27 lines
637 B
Nix

{ buildPythonPackage
, fetchPypi
, ply
, lib
}:
buildPythonPackage rec {
pname = "CppHeaderParser";
version = "2.7.4";
src = fetchPypi {
inherit pname version;
hash = "sha256-OCswQW2VsKXoUCshSBDcrCpWQykX4mUUR9Or4lPjzEI=";
};
propagatedBuildInputs = [ ply ];
pythonImportsCheck = [ "CppHeaderParser" ];
meta = with lib; {
description = "Parse C++ header files using ply.lex to generate navigable class tree representing the class structure";
homepage = "https://sourceforge.net/projects/cppheaderparser/";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ pamplemousse ];
};
}