Unverified Commit 48dcc688 authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

jfbview: 0.6.0 -> 0.6.1 (#513475)

parents 88b4e0de e23455f1
Loading
Loading
Loading
Loading
+10 −8
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  fetchFromGitHub,
  versionCheckHook,
  nix-update-script,
  pkg-config,
  freetype,
  harfbuzz,
  imlib2,
@@ -17,17 +18,23 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "jfbview";
  version = "0.6.0";
  version = "0.6.1";

  src = fetchFromGitHub {
    owner = "jichu4n";
    repo = "jfbview";
    tag = finalAttrs.version;
    fetchSubmodules = true;
    hash = "sha256-ASgKXk5iVqKsBc1uzakHs5ojUb6AptGm9LxNyFcDngc=";
    hash = "sha256-7iyDfMuGAXXLyDNz0d4jEQ+KfJ/LyUu4v1n0GcOKeEc=";
  };

  nativeBuildInputs = [ cmake ];
  __structuredAttrs = true;
  strictDeps = true;

  nativeBuildInputs = [
    cmake
    pkg-config
  ];

  buildInputs = [
    freetype
@@ -53,11 +60,6 @@ stdenv.mkDerivation (finalAttrs: {
  nativeInstallCheckInputs = [ versionCheckHook ];
  doInstallCheck = true;

  postPatch = ''
    substituteInPlace CMakeLists.txt \
      --replace-fail "cmake_minimum_required(VERSION 3.2)" "cmake_minimum_required(VERSION 3.10)"
  '';

  passthru.updateScript = nix-update-script { };

  meta = {