Unverified Commit a944b73a authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #262760 from gador/todoman-fix-test

todoman: apply upstream patch
parents 7f4904bd af7889b4
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
, installShellFiles
, jq
, python3
, fetchpatch
}:

python3.pkgs.buildPythonApplication rec {
@@ -19,6 +20,14 @@ python3.pkgs.buildPythonApplication rec {
    hash = "sha256-dxyI9ypZZBouTUF72wzvi7j+CeoQ9JNSiXrVeV7ForY=";
  };

  patches = [
    (fetchpatch {
      name = "disable-broken-urwid-test.patch";
      url = "https://github.com/pimutils/todoman/commit/7ff0d2e2e69e24df5d66fecc58f8cd0b4e5ced6d.patch";
      hash = "sha256-MMNnnIthNqobexd8GaA6lYxzv5gr1l0e9YK+Ygeje2w=";
    })
  ];

  SETUPTOOLS_SCM_PRETEND_VERSION = version;

  nativeBuildInputs = [