Commit 452cebfb authored by Jan Tojnar's avatar Jan Tojnar Committed by Vincent Laporte
Browse files
parent a845c1b2
Loading
Loading
Loading
Loading
+4 −19
Original line number Diff line number Diff line
@@ -9,31 +9,15 @@

buildDunePackage rec {
  pname = "pyml";
  version = "20220905";
  version = "20231101";

  src = fetchFromGitHub {
    owner = "thierry-martinez";
    repo = "pyml";
    rev = version;
    sha256 = "PL4tFIKQLRutSn9Sf84/ImJv0DqkstNnJaNBqWDTKDQ=";
    sha256 = "sha256-0Yy5T/S3Npwt0XJmEsdXGg5AXYi9vV9UG9nMSzz/CEc=";
  };

  patches = [
    # Fixes test crash.
    # https://github.com/thierry-martinez/pyml/issues/85
    (fetchpatch {
      url = "https://github.com/thierry-martinez/pyml/commit/a0bc5aca8632bea273f869d622cad2f55e754a7c.patch";
      sha256 = "bOqAokm5DE5rlvkBMQZtwMppRmoK9cvjJeGeP6BusnE=";
      excludes = [
        "CHANGES.md"
      ];
    })
    (fetchpatch {
      url = "https://github.com/thierry-martinez/pyml/commit/97407473800b3f6215190643c1e6b9bd25d5caeb.patch";
      hash = "sha256-7CrVuV4JT7fyi/ktWz4nNOG/BbqsQVCoJwCAhE2y4YU=";
    })
  ];

  buildInputs = [
    utop
  ];
@@ -44,7 +28,8 @@ buildDunePackage rec {
  ];

  nativeCheckInputs = [
    python3.pkgs.numpy python3.pkgs.ipython
    python3.pkgs.numpy
    python3.pkgs.ipython
  ];

  strictDeps = true;