Commit 7e80e035 authored by Augustin Trancart's avatar Augustin Trancart
Browse files

ifcopenshell: add a passthru.updateScript

parent 352c195a
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
  pytestCheckHook,
  # fetchers
  fetchFromGitHub,
  gitUpdater,
  # build tools
  cmake,
  swig,
@@ -178,9 +179,12 @@ buildPythonPackage rec {
    popd
  '';

  passthru.tests = {
  passthru = {
    updateScript = gitUpdater { rev-prefix = "ifcopenshell-python-"; };
    tests = {
      version = testers.testVersion { command = "IfcConvert --version"; };
    };
  };

  meta = with lib; {
    broken = stdenv.hostPlatform.isDarwin;