From 3e865ed7119105f9b5f285257f04c3f6a92cf71a Mon Sep 17 00:00:00 2001 From: "R. RyanTM" Date: Wed, 22 May 2019 05:58:06 -0700 Subject: [PATCH] kore: 2.0.0 -> 3.3.0 (#61846) * kore: 2.0.0 -> 3.3.0 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/kore/versions * kore: minor cleanup postPatch sed removed because it is not making any change on v3.3.0 sources --- pkgs/development/web/kore/default.nix | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/pkgs/development/web/kore/default.nix b/pkgs/development/web/kore/default.nix index b0dc2ba041a..5ccb42ea417 100644 --- a/pkgs/development/web/kore/default.nix +++ b/pkgs/development/web/kore/default.nix @@ -1,24 +1,19 @@ { stdenv, fetchFromGitHub, openssl }: stdenv.mkDerivation rec { - name = "kore-${version}"; - version = "2.0.0"; + pname = "kore"; + version = "3.3.0"; src = fetchFromGitHub { owner = "jorisvink"; - repo = "kore"; + repo = pname; rev = "${version}-release"; - sha256 = "1jjhx9gfjzpsrs7b9rgb46k6v03azrxz9fq7vkn9zyz6zvnjj614"; + sha256 = "19jd1jkyrylvqbrxdz7i3xvymwi1dzx97iq6fcp76fw7nm7gxgk4"; }; buildInputs = [ openssl ]; - postPatch = '' - # Do not require kore to be on PATH when it launches itself as a subprocess. - sed -ie "s+\"kore\"+\"$out/bin/kore\"+" src/cli.c - ''; - - makeFlags = [ "PREFIX=$(out)" ]; + makeFlags = [ "PREFIX=${placeholder "out"}" ]; # added to fix build w/gcc7 and clang5 NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=pointer-compare"