summary refs log tree commit diff
path: root/pkgs/development/libraries/uthash
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-07-17 20:37:27 +0200
committerFelix Buehler <account@buehler.rocks>2021-07-17 22:39:35 +0200
commite023025ee026a9e62a5e754d608572903304550a (patch)
tree848c15eab372ba6ee6076363a0a2bc798c89b00b /pkgs/development/libraries/uthash
parent6d1494bc669c21e0cf16aec3af6450d1776d7883 (diff)
downloadnixpkgs-e023025ee026a9e62a5e754d608572903304550a.tar
nixpkgs-e023025ee026a9e62a5e754d608572903304550a.tar.gz
nixpkgs-e023025ee026a9e62a5e754d608572903304550a.tar.bz2
nixpkgs-e023025ee026a9e62a5e754d608572903304550a.tar.lz
nixpkgs-e023025ee026a9e62a5e754d608572903304550a.tar.xz
nixpkgs-e023025ee026a9e62a5e754d608572903304550a.tar.zst
nixpkgs-e023025ee026a9e62a5e754d608572903304550a.zip
various: cleanup of "inherit version;"
Diffstat (limited to 'pkgs/development/libraries/uthash')
-rw-r--r--pkgs/development/libraries/uthash/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/development/libraries/uthash/default.nix b/pkgs/development/libraries/uthash/default.nix
index 7ddae062f76..97c6d10191f 100644
--- a/pkgs/development/libraries/uthash/default.nix
+++ b/pkgs/development/libraries/uthash/default.nix
@@ -1,11 +1,8 @@
 { lib, stdenv, fetchurl, perl }:
 
-let
-  version = "2.1.0";
-in
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
   pname = "uthash";
-  inherit version;
+  version = "2.1.0";
 
   src = fetchurl {
     url = "https://github.com/troydhanson/uthash/archive/v${version}.tar.gz";