2022-06-16 17:23:12 +00:00
|
|
|
{lib, stdenv, fetchFromBitbucket, fetchpatch, libX11}:
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xannotate";
|
|
|
|
version = "20150301";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromBitbucket {
|
|
|
|
owner = "blais";
|
|
|
|
repo = pname;
|
|
|
|
rev = "e5591c2ec67ca39988f1fb2966e94f0f623f9aa7";
|
|
|
|
sha256 = "02jy19if0rnbxvs6b0l5mi9ifvdj2qmv0pv278v9kfs0kvir68ik";
|
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
patches = [
|
|
|
|
# Pull patch pending upstream inclusion for -gno-common tollchains:
|
|
|
|
# https://github.com/blais/xannotate/pull/1
|
|
|
|
(fetchpatch {
|
|
|
|
name = "fno-common.patch";
|
|
|
|
url = "https://github.com/blais/xannotate/commit/ee637e2dee103d0e654865c2202ea1b3af2a20d6.patch";
|
|
|
|
sha256 = "1lw22d5qs1bwp53l332yl3yypfvwrbi750wp7yv90nfn3ia0xhni";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ libX11 ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A tool to scribble over X windows";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.gpl2Plus ;
|
|
|
|
maintainers = [lib.maintainers.raskin];
|
|
|
|
platforms = lib.platforms.linux;
|
2022-06-16 17:23:12 +00:00
|
|
|
homepage = "https://github.com/blais/xannotate";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|