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
This commit is contained in:
parent
35d0dab748
commit
3e865ed711
@ -1,24 +1,19 @@
|
|||||||
{ stdenv, fetchFromGitHub, openssl }:
|
{ stdenv, fetchFromGitHub, openssl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "kore-${version}";
|
pname = "kore";
|
||||||
version = "2.0.0";
|
version = "3.3.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "jorisvink";
|
owner = "jorisvink";
|
||||||
repo = "kore";
|
repo = pname;
|
||||||
rev = "${version}-release";
|
rev = "${version}-release";
|
||||||
sha256 = "1jjhx9gfjzpsrs7b9rgb46k6v03azrxz9fq7vkn9zyz6zvnjj614";
|
sha256 = "19jd1jkyrylvqbrxdz7i3xvymwi1dzx97iq6fcp76fw7nm7gxgk4";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
postPatch = ''
|
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||||
# 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)" ];
|
|
||||||
|
|
||||||
# added to fix build w/gcc7 and clang5
|
# added to fix build w/gcc7 and clang5
|
||||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=pointer-compare"
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=pointer-compare"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user