nnpdf: 4.0.4 -> 4.0.6

This commit is contained in:
Dmitry Kalinkin 2023-02-11 14:56:24 -05:00
parent 6fe0b23086
commit ede042f54d
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, pkg-config
, apfel
@ -16,22 +15,15 @@
stdenv.mkDerivation rec {
pname = "nnpdf";
version = "4.0.4";
version = "4.0.6";
src = fetchFromGitHub {
owner = "NNPDF";
repo = pname;
rev = version;
sha256 = "sha256-Alx4W0TkPzJBsnRXcKBrlEU6jWTnOjrji/IPk+dNCw0=";
hash = "sha256-mwOMNlYFhHZq/wakO1/HGwcxvKGKh5OyFa2D9d3Y3IA=";
};
patches = [
(fetchpatch {
url = "https://github.com/NNPDF/nnpdf/commit/7943b62a91d3a41fd4f6366b18881d50695f4b45.diff";
hash = "sha256-UXhTO7vZgJiY8h3bgjg7SQC0gMUQsYQ/V/PgtCEQ7VU=";
})
];
postPatch = ''
for file in CMakeLists.txt buildmaster/CMakeLists.txt; do
substituteInPlace $file \