From 2112a277f9a64498154e465d6abe86c2dfd8c377 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Wed, 27 Sep 2023 17:11:34 +0300 Subject: [PATCH] lammps: 23Jun2022_update4 -> 2Aug2023_update1 Diff: https://github.com/lammps/lammps/compare/stable_23Jun2022_update4...stable_2Aug2023_update1 --- .../science/molecular-dynamics/lammps/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/science/molecular-dynamics/lammps/default.nix b/pkgs/applications/science/molecular-dynamics/lammps/default.nix index f11e9bdeeb13e..7924d044c2ab7 100644 --- a/pkgs/applications/science/molecular-dynamics/lammps/default.nix +++ b/pkgs/applications/science/molecular-dynamics/lammps/default.nix @@ -44,15 +44,16 @@ }: stdenv.mkDerivation (finalAttrs: { - # LAMMPS has weird versioning converted to ISO 8601 format - version = "2Aug2023"; + # LAMMPS has weird versioning convention. Updates should go smoothly with: + # nix-update --commit lammps --version-regex 'stable_(.*)' + version = "2Aug2023_update1"; pname = "lammps"; src = fetchFromGitHub { owner = "lammps"; repo = "lammps"; rev = "stable_${finalAttrs.version}"; - hash = "sha256-6T4YAa4iN3pJpODGPW+faR16xxyYYdkHLavtiPUbZ4o="; + hash = "sha256-Zmn87a726qdidBfyvJlYleYv9jqyFAakxjGrg3lipc0="; }; preConfigure = '' cd cmake