depot/third_party/nixpkgs/pkgs/tools/misc/qmake2cmake/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

40 lines
744 B
Nix

{ lib
, buildPythonPackage
, fetchgit
, packaging
, portalocker
, sympy
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "qmake2cmake";
version = "1.0.2";
src = fetchgit {
url = "https://codereview.qt-project.org/qt/qmake2cmake";
rev = "v${version}";
hash = "sha256-Ibi7tIaMI44POfoRfKsgTMR3u+Li5UzeHBUNylnc9dw=";
};
patches = [
./fix-locations.patch
];
propagatedBuildInputs = [
packaging
portalocker
sympy
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Tool to convert qmake .pro files to CMakeLists.txt";
homepage = "https://wiki.qt.io/Qmake2cmake";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ wegank ];
};
}