Merge pull request #302832 from natsukium/yapsy/update

python311Packages.yapsy: 1.12.2 -> 1.12.2-unstable-2023-03-29
This commit is contained in:
OTABI Tomoya 2024-04-10 20:06:38 +09:00 committed by GitHub
commit 9e663ea918
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,21 +1,28 @@
{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
buildPythonPackage {
pname = "yapsy";
version = "1.12.2";
format = "setuptools";
version = "1.12.2-unstable-2023-03-29";
pyproject = true;
src = fetchPypi {
pname = "Yapsy";
inherit version;
sha256 = "12rznbnswfw0w7qfbvmmffr9r317gl1rqg36nijwzsklkjgks4fq";
src = fetchFromGitHub {
owner = "tibonihoo";
repo = "yapsy";
rev = "6b487b04affb19ab40adbbc87827668bea0abcee";
hash = "sha256-QKZlUAhYMCCsT/jbEHb39ESZ2+2FZYnhJnc1PgsozBA=";
};
sourceRoot = "source/package";
build-system = [
setuptools
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "yapsy" ];
@ -23,6 +30,6 @@ buildPythonPackage rec {
meta = with lib; {
homepage = "https://yapsy.sourceforge.net/";
description = "Yet another plugin system";
license = licenses.bsd0;
license = licenses.bsd2;
};
}