Unverified Commit f4223423 authored by Raghav Sood's avatar Raghav Sood Committed by GitHub
Browse files

Merge pull request #311553 from RaghavSood/bicpl/unstable-2024-05-14

bicpl: unstable-2023-01-19 -> unstable-2024-05-14
parents c5e1cf1c 4b103239
Loading
Loading
Loading
Loading
+3 −12
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  libminc,
  netpbm,
@@ -10,24 +9,16 @@

stdenv.mkDerivation rec {
  pname = "bicpl";
  version = "unstable-2023-01-19";
  version = "unstable-2024-05-14";

  # master is not actively maintained, using develop and develop-apple branches
  src = fetchFromGitHub {
    owner = "BIC-MNI";
    repo = pname;
    rev = "884b3ac8db945a17df51a325d29f49b825a61c3e";
    hash = "sha256-zAA+hPwjMawQ1rJuv8W30EqKO+AI0aq9ybquBnKlzC0=";
    rev = "7e1e791483cf135fe29b8eecd7a360aa892823ae";
    hash = "sha256-SvbtPUfEYp3IGivG+5yFdJF904miyMk+s15zwW7e7b4=";
  };

  patches = [
    # fixes build by including missing time.h header
    (fetchpatch {
      url = "https://github.com/RaghavSood/bicpl/commit/3def4acd6bae61ff7a930ef8422ad920690382a6.patch";
      hash = "sha256-VdAKuLWTZY7JriK1rexIiuj8y5ToaSEJ5Y+BbnfdYnI=";
    })
  ];

  nativeBuildInputs = [ cmake ];
  buildInputs = [
    libminc