summaryrefslogtreecommitdiffstats
path: root/pkgs/development/compilers/cmdstan
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-08-15 16:28:33 +0200
committerFelix Buehler <account@buehler.rocks>2021-08-21 23:02:55 +0200
commit7c784439a265f7d9cd32be35ed7d7363b626e3eb (patch)
treef8dc05ae880cca16d247e0898cd44a853e47013a /pkgs/development/compilers/cmdstan
parent77506e4f258f1922148986a73a713006318e9fe9 (diff)
development/{arduino/compilers/interpreters}: replace name with pname&version
Diffstat (limited to 'pkgs/development/compilers/cmdstan')
-rw-r--r--pkgs/development/compilers/cmdstan/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/compilers/cmdstan/default.nix b/pkgs/development/compilers/cmdstan/default.nix
index c52ffa0bafdb..a41f836e10ca 100644
--- a/pkgs/development/compilers/cmdstan/default.nix
+++ b/pkgs/development/compilers/cmdstan/default.nix
@@ -1,10 +1,11 @@
{ lib, stdenv, fetchurl, python3, runtimeShell }:
-stdenv.mkDerivation {
- name = "cmdstan-2.17.1";
+stdenv.mkDerivation rec {
+ pname = "cmdstan";
+ version = "2.17.1";
src = fetchurl {
- url = "https://github.com/stan-dev/cmdstan/releases/download/v2.17.1/cmdstan-2.17.1.tar.gz";
+ url = "https://github.com/stan-dev/cmdstan/releases/download/v${version}/cmdstan-${version}.tar.gz";
sha256 = "1vq1cnrkvrvbfl40j6ajc60jdrjcxag1fi6kff5pqmadfdz9564j";
};