summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/config-file
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-11-09 20:42:54 +0100
committerFelix Buehler <account@buehler.rocks>2021-11-10 14:03:21 +0100
commit345d71ffd0a4f1693cb5d1e74b49fe5c34405705 (patch)
tree8d0b5efaca0bb793655edeb3914fa93c32e13bfc /pkgs/development/ocaml-modules/config-file
parent7a7550f2141658428eaebbeb2684e6a7619172a1 (diff)
downloadnixpkgs-345d71ffd0a4f1693cb5d1e74b49fe5c34405705.tar
nixpkgs-345d71ffd0a4f1693cb5d1e74b49fe5c34405705.tar.gz
nixpkgs-345d71ffd0a4f1693cb5d1e74b49fe5c34405705.tar.bz2
nixpkgs-345d71ffd0a4f1693cb5d1e74b49fe5c34405705.tar.lz
nixpkgs-345d71ffd0a4f1693cb5d1e74b49fe5c34405705.tar.xz
nixpkgs-345d71ffd0a4f1693cb5d1e74b49fe5c34405705.tar.zst
nixpkgs-345d71ffd0a4f1693cb5d1e74b49fe5c34405705.zip
pkgs/development: rename name to pname&version
Diffstat (limited to 'pkgs/development/ocaml-modules/config-file')
-rw-r--r--pkgs/development/ocaml-modules/config-file/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/config-file/default.nix b/pkgs/development/ocaml-modules/config-file/default.nix
index 29c7cd61c3f..ad7413d16de 100644
--- a/pkgs/development/ocaml-modules/config-file/default.nix
+++ b/pkgs/development/ocaml-modules/config-file/default.nix
@@ -1,10 +1,11 @@
 { stdenv, lib, fetchurl, ocaml, findlib, camlp4 }:
 
-stdenv.mkDerivation {
-  name = "ocaml-config-file-1.2";
+stdenv.mkDerivation rec {
+  pname = "ocaml-config-file";
+  version = "1.2";
 
   src = fetchurl {
-    url = "https://forge.ocamlcore.org/frs/download.php/1387/config-file-1.2.tar.gz";
+    url = "https://forge.ocamlcore.org/frs/download.php/1387/config-file-${version}.tar.gz";
     sha256 = "1b02yxcnsjhr05ssh2br2ka4hxsjpdw34ldl3nk33wfnkwk7g67q";
   };