nixpkgs/pkgs/tools/misc/qmake2cmake/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

41 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 ];
};
}