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