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 changed files with 5 additions and 10 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue