plecost: 1.1.4 -> 0-unstable-2022-08-03
Diff: aa40e504be..4895e345d7
This is an upgrade. Because "the project's tagging system is incompatible with what we expect from versions",
we need to set the version to 0-unstable-date, then set the updater accordingly.
This commit is contained in:
@@ -3,30 +3,22 @@
|
|||||||
python3Packages,
|
python3Packages,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
fetchpatch,
|
fetchpatch,
|
||||||
|
unstableGitUpdater,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication {
|
python3Packages.buildPythonApplication {
|
||||||
pname = "plecost";
|
pname = "plecost";
|
||||||
version = "1.1.4";
|
version = "0-unstable-2022-08-03";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "iniqua";
|
owner = "iniqua";
|
||||||
repo = "plecost";
|
repo = "plecost";
|
||||||
# Release is untagged
|
# Release is untagged
|
||||||
rev = "aa40e504bee95cf731f0cc9f228bcf5fdfbe6194";
|
rev = "4895e345d71bffe956be43530632e303dd379a5f";
|
||||||
sha256 = "K8ESI2EOqH9zBDfSKgVcTKjCMdRhBiwltIbXDt1vF+M=";
|
hash = "sha256-cXXFLoiLZpo3qiAPztavns4EkOG2aC6UKMf0N4Eun/w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fix compatibility with aiohttp 3.x
|
|
||||||
# Merged - pending next release
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/iniqua/plecost/pull/34/commits/c09e7fab934f136f8fbc5f219592cf5fec151cf9.patch";
|
|
||||||
sha256 = "sha256-G7Poo3+d+PQTrg8PCrmsG6nMHt8CXgiuAu+ZNvK8oiw=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
build-system = with python3Packages; [ setuptools ];
|
build-system = with python3Packages; [ setuptools ];
|
||||||
|
|
||||||
dependencies = with python3Packages; [
|
dependencies = with python3Packages; [
|
||||||
@@ -41,6 +33,8 @@ python3Packages.buildPythonApplication {
|
|||||||
|
|
||||||
pythonImportsCheck = [ "plecost_lib" ];
|
pythonImportsCheck = [ "plecost_lib" ];
|
||||||
|
|
||||||
|
passthru.updateScript = unstableGitUpdater { hardcodeZeroVersion = true; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Vulnerability fingerprinting and vulnerability finder for Wordpress blog engine";
|
description = "Vulnerability fingerprinting and vulnerability finder for Wordpress blog engine";
|
||||||
mainProgram = "plecost";
|
mainProgram = "plecost";
|
||||||
|
|||||||
Reference in New Issue
Block a user