mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
python3Packages.flipr-api: 1.4.1 -> 1.4.2
This commit is contained in:
parent
727f5c4d02
commit
b017a47185
@ -1,7 +1,6 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, poetry-core
|
||||
, requests-mock
|
||||
, pythonOlder
|
||||
@ -13,7 +12,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flipr-api";
|
||||
version = "1.4.1";
|
||||
version = "1.4.2";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
@ -22,7 +21,7 @@ buildPythonPackage rec {
|
||||
owner = "cnico";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "00qkzr2g38fpa7ndnbfx9m4d50lmz0j74nkxif3amnkbl4m6l5vn";
|
||||
sha256 = "sha256-/G92WkWUr3T5T7VVzMERFVmLDfLz6m9rlZLQZCBQbCI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -40,17 +39,10 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
patches = [
|
||||
# Switch to poetry-core, https://github.com/cnico/flipr-api/pull/4
|
||||
(fetchpatch {
|
||||
name = "switch-to-poetry-core.patch";
|
||||
url = "https://github.com/cnico/flipr-api/commit/f14be1dfd4f46d4d43d9ea47e51cafca3cc18e86.patch";
|
||||
sha256 = "1fdi19cq21zcjx4g132k480yhi5y0x5qj2l0h8k5zky5cdxs58r6";
|
||||
})
|
||||
pythonImportsCheck = [
|
||||
"flipr_api"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "flipr_api" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client for Flipr API";
|
||||
homepage = "https://github.com/cnico/flipr-api";
|
||||
|
Loading…
Reference in New Issue
Block a user