Unverified Commit 4a1a3d9b authored by Nikolay Korotkiy's avatar Nikolay Korotkiy Committed by GitHub
Browse files

qmake2cmake: 1.0.6 -> 1.0.7 (#445346)

parents a25a8040 b1a51e5e
Loading
Loading
Loading
Loading
+13 −12
Original line number Diff line number Diff line
@@ -6,26 +6,30 @@
  platformdirs,
  portalocker,
  pyparsing,
  setuptools,
  sympy,
  pytestCheckHook,
  writableTmpDirAsHomeHook,
}:

buildPythonPackage rec {
  pname = "qmake2cmake";
  version = "1.0.6";
  format = "setuptools";
  version = "1.0.7";
  pyproject = true;

  src = fetchgit {
    url = "https://codereview.qt-project.org/qt/qmake2cmake";
    rev = "v${version}";
    hash = "sha256-M5XVQ8MXo2Yxg5eZCho2YAGFtB0h++mEAg8NcQVuP/w=";
    tag = "v${version}";
    hash = "sha256-Y1HU4bNZY0b1C8HIX43AR24zoIyTEgkVXpnweEBlOYk=";
  };

  patches = [
    ./fix-locations.patch
  ];

  propagatedBuildInputs = [
  build-system = [ setuptools ];

  dependencies = [
    packaging
    platformdirs
    portalocker
@@ -35,16 +39,13 @@ buildPythonPackage rec {

  nativeCheckInputs = [
    pytestCheckHook
    writableTmpDirAsHomeHook
  ];

  preCheck = ''
    export HOME=$(mktemp -d)
  '';

  meta = with lib; {
  meta = {
    description = "Tool to convert qmake .pro files to CMakeLists.txt";
    homepage = "https://wiki.qt.io/Qmake2cmake";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ wegank ];
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ wegank ];
  };
}