Unverified Commit 9e663ea9 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

Merge pull request #302832 from natsukium/yapsy/update

 python311Packages.yapsy: 1.12.2 -> 1.12.2-unstable-2023-03-29
parents 16000260 38955a72
Loading
Loading
Loading
Loading
+17 −10
Original line number Diff line number Diff line
{ 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;
  };
}