1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00

Merge pull request #144865 from trofi/fix-tasknc-for-ncurses-6.3

This commit is contained in:
Sandro 2021-11-10 01:38:54 +01:00 committed by GitHub
commit 1221511dd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, makeWrapper, perl, ncurses5, taskwarrior }:
{ lib, stdenv, fetchFromGitHub, fetchpatch, makeWrapper, perl, ncurses5, taskwarrior }:
stdenv.mkDerivation rec {
version = "2020-12-17";
@ -11,6 +11,16 @@ stdenv.mkDerivation rec {
sha256 = "0jrv2k1yizfdjndbl06lmy2bb62ky2rjdk308967j31c5kqqnw56";
};
# Pull pending upstream inclusion for ncurses-6.3:
# https://github.com/lharding/tasknc/pull/57
patches = [
(fetchpatch {
name = "ncurses-6.3.patch";
url = "https://github.com/lharding/tasknc/commit/f74ea0641e9bf287acf22fac9f6eeea571b01800.patch";
sha256 = "18a90zj85sw2zfnfcv055nvi0lx3h8lcgsyabdfk94ksn78pygrv";
})
];
nativeBuildInputs = [
makeWrapper
perl # For generating the man pages with pod2man