summary refs log tree commit diff
path: root/pkgs/games/spring
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2020-04-07 20:58:19 +0200
committerDomen Kožar <domen@dev.si>2020-04-07 20:59:11 +0200
commitc2cedac28c82cb4eb0348564970091583e0242b2 (patch)
treef2a8a825fea26f49d256fcf9686b22c103d0d78b /pkgs/games/spring
parent9df14757c9a990094cee22f196fa2fe85cda48f2 (diff)
downloadnixpkgs-c2cedac28c82cb4eb0348564970091583e0242b2.tar
nixpkgs-c2cedac28c82cb4eb0348564970091583e0242b2.tar.gz
nixpkgs-c2cedac28c82cb4eb0348564970091583e0242b2.tar.bz2
nixpkgs-c2cedac28c82cb4eb0348564970091583e0242b2.tar.lz
nixpkgs-c2cedac28c82cb4eb0348564970091583e0242b2.tar.xz
nixpkgs-c2cedac28c82cb4eb0348564970091583e0242b2.tar.zst
nixpkgs-c2cedac28c82cb4eb0348564970091583e0242b2.zip
spring: 104.0.1-1476-g0737b41 -> 104.0.1-1477-g8ecf38a
Diffstat (limited to 'pkgs/games/spring')
-rw-r--r--pkgs/games/spring/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/games/spring/default.nix b/pkgs/games/spring/default.nix
index 104c185e2c1..ae09cdf639b 100644
--- a/pkgs/games/spring/default.nix
+++ b/pkgs/games/spring/default.nix
@@ -7,14 +7,18 @@
 
 stdenv.mkDerivation rec {
   pname = "spring";
-  version = "104.0.1";
+  version = "104.0.1-${buildId}-g${shortRev}";
+  # usually the latest in https://github.com/spring/spring/commits/maintenance 
+  rev = "8ecf38a784ed3c4e3d67bc8d59839a77e0f0b83e";
+  shortRev = builtins.substring 0 7 rev;
+  buildId = "1477";
 
   # taken from https://github.com/spring/spring/commits/maintenance
   src = fetchFromGitHub {
     owner = "spring";
     repo = "spring";
-    rev = "69b06d03411fd97f0042a348d839e88d16bd6cb1";
-    sha256 = "16dfh0alb3zz5q8d00fy91banicrn69hf1scmq6vgjhzhzsvnlxj";
+    inherit rev;
+    sha256 = "0iai1wnd7msabgw2979cp2k54sgcfvidfmymhnck31jwbfa6y021";
     fetchSubmodules = true;
   };
 
@@ -29,7 +33,7 @@ stdenv.mkDerivation rec {
     patchShebangs .
     rm rts/build/cmake/FindGLEW.cmake
 
-    echo "104.0.1-1474-g69b06d0 maintenance" > VERSION
+    echo "${version} maintenance" > VERSION
   '';
 
   cmakeFlags = ["-DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON"