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:
parent
2ea79e0fe4
commit
e28ee8bb32
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue