3
0
Fork 0
forked from mirrors/nixpkgs

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
No known key found for this signature in database
GPG key ID: 074048E893713170

View file

@ -1,34 +1,24 @@
{ lib
, fetchFromGitHub
, python3Packages
, fetchpatch
}:
python3Packages.buildPythonApplication rec {
pname = "xpaste";
version = "1.5";
version = "1.6";
format = "setuptools";
src = fetchFromGitHub {
owner = "ossobv";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-Z9YxhVP+FUvWET91ob4SPSW+XX7/wzlgPr53vO517L4=";
hash = "sha256-eVnoLG+06UTOkvGhzL/XS4JBrEwbXYZ1fuNTIW7YAfE=";
};
propagatedBuildInputs = with python3Packages; [
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
doCheck = false;