xpaste: 1.5 -> 1.6

patch is now included in new upstream release

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
Florian Brandes
2022-11-22 06:09:26 +01:00
parent 2ea79e0fe4
commit e28ee8bb32

View File

@@ -1,34 +1,24 @@
{ lib { lib
, fetchFromGitHub , fetchFromGitHub
, python3Packages , python3Packages
, fetchpatch
}: }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "xpaste"; pname = "xpaste";
version = "1.5"; version = "1.6";
format = "setuptools"; format = "setuptools";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ossobv"; owner = "ossobv";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-Z9YxhVP+FUvWET91ob4SPSW+XX7/wzlgPr53vO517L4="; hash = "sha256-eVnoLG+06UTOkvGhzL/XS4JBrEwbXYZ1fuNTIW7YAfE=";
}; };
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
xlib xlib
]; ];
patches = [
(fetchpatch {
# https://github.com/ossobv/xpaste/pull/6
name = "fix-function-call-after-wayland-update.patch";
url = "https://github.com/ossobv/xpaste/commit/47412738dad4b5fc8bc287ead23c8440bfdc547d.patch";
hash = "sha256-t4LZG600AsFTtKjXCxioGcAP4YcHIdQ/fVMIYjsunuA=";
})
];
# no tests, no python module to import, no version output to check # no tests, no python module to import, no version output to check
doCheck = false; doCheck = false;