@@ -1,7 +1,6 @@
11{ lib
22, buildPythonPackage
33, fetchFromGitHub
4−, fetchpatch
54, poetry-core
65, requests-mock
76, pythonOlder
@@ -13,7 +12,7 @@
1312
1413buildPythonPackage rec {
1514 pname = "flipr-api";
16− version = "1.4.1";
15+ version = "1.4.2";
1716 format = "pyproject";
1817
1918 disabled = pythonOlder "3.6";
@@ -22,7 +21,7 @@ buildPythonPackage rec {
2221 owner = "cnico";
2322 repo = pname;
2423 rev = version;
25− sha256 = "00qkzr2g38fpa7ndnbfx9m4d50lmz0j74nkxif3amnkbl4m6l5vn";
24+ sha256 = "sha256-/G92WkWUr3T5T7VVzMERFVmLDfLz6m9rlZLQZCBQbCI=";
2625 };
2726
2827 nativeBuildInputs = [
@@ -40,17 +39,10 @@ buildPythonPackage rec {
4039 pytestCheckHook
4140 ];
4241
43− patches = [
44− # Switch to poetry-core, https://github.com/cnico/flipr-api/pull/4
45− (fetchpatch {
46− name = "switch-to-poetry-core.patch";
47− url = "https://github.com/cnico/flipr-api/commit/f14be1dfd4f46d4d43d9ea47e51cafca3cc18e86.patch";
48− sha256 = "1fdi19cq21zcjx4g132k480yhi5y0x5qj2l0h8k5zky5cdxs58r6";
49− })
42+ pythonImportsCheck = [
43+ "flipr_api"
5044 ];
5145
52− pythonImportsCheck = [ "flipr_api" ];
53−
5446 meta = with lib; {
5547 description = "Python client for Flipr API";
5648 homepage = "https://github.com/cnico/flipr-api";