diff options
author | Felix Buehler <account@buehler.rocks> | 2021-07-17 20:37:27 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-07-17 22:39:35 +0200 |
commit | e023025ee026a9e62a5e754d608572903304550a (patch) | |
tree | 848c15eab372ba6ee6076363a0a2bc798c89b00b /pkgs/development/libraries/uthash | |
parent | 6d1494bc669c21e0cf16aec3af6450d1776d7883 (diff) | |
download | nixpkgs-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.nix | 7 |
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"; |