jftui: 0.2.2 -> 0.3.0

This commit is contained in:
David Izquierdo 2020-05-06 01:52:20 +02:00 committed by Jon
parent 21c87a9190
commit fb9053332b

View File

@ -1,32 +1,27 @@
{ stdenv, fetchFromGitHub, fetchpatch, clang, { stdenv
pkg-config, curl, mpv, yajl }: , fetchFromGitHub
, pkg-config
, curl
, mpv
, yajl
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "jftui"; pname = "jftui";
version = "0.2.2"; version = "0.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Aanok"; owner = "Aanok";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0g93w8ahyh2v0cv2fyj5a7v6qyznavwk0dcxx1qw4kczdgmlxnkx"; sha256 = "1az737q5i24ylvkx4g3xlq8k48ni91nz5hhbif97g4nlhwl5cqb6";
}; };
patches = [
# Remove this patch with next version
(fetchpatch {
name = "curl-capability-check-fix";
url = "https://github.com/Aanok/jftui/commit/d63996b8bc0d2ac4b04c5de4169bc7f8ec9b2a30.patch";
sha256 = "1d595mkzgx3carq2cykxpvmf5klgdlyaq94fk9wj8812yswqlsr7";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
pkg-config pkg-config
]; ];
buildInputs = [ buildInputs = [
clang
curl curl
mpv mpv
yajl yajl