python3Packages.hdate: 0.10.2 -> 0.10.3
This commit is contained in:
parent
c21b54701b
commit
7843fd5f9b
@ -2,7 +2,6 @@
|
|||||||
, astral
|
, astral
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
@ -11,7 +10,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "hdate";
|
pname = "hdate";
|
||||||
version = "0.10.2";
|
version = "0.10.3";
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
@ -19,7 +18,7 @@ buildPythonPackage rec {
|
|||||||
owner = "py-libhdate";
|
owner = "py-libhdate";
|
||||||
repo = "py-libhdate";
|
repo = "py-libhdate";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "07b0c7q8w6flj4q72v58d3wymsxfp5qz8z97qhhc2977mjx5fsxd";
|
sha256 = "sha256-6rOsG6qgq4woBhj25SNWvKshvFLBL/6MJiBZb+NPvdk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -35,15 +34,6 @@ buildPythonPackage rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Version was not updated for the release
|
|
||||||
(fetchpatch {
|
|
||||||
name = "update-version.patch";
|
|
||||||
url = "https://github.com/py-libhdate/py-libhdate/commit/b8186a891b29fed99def5ce0985ee0ae1e0dd77e.patch";
|
|
||||||
sha256 = "1pmhgh57x9390ff5gyisng0l6b79sd6dxmf172hpk1gr03c3hv98";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml --replace "^2020.5" ">=2020.5"
|
substituteInPlace pyproject.toml --replace "^2020.5" ">=2020.5"
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user