summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-01-25 20:08:34 +0100
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2016-01-25 20:08:34 +0100
commitac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6 (patch)
tree2cd413d35a58a8320b2adfac534652619d2bbcfd /pkgs/development/libraries
parent9fb8020e4ec2e74e39a8f28dfb3ef18a70bd1eef (diff)
downloadnixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.gz
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.bz2
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.lz
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.xz
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.tar.zst
nixpkgs-ac33b4724a84ef01f3d25a42e2b63f1a9d3e5cd6.zip
More version attribute tidying where maintainers |= nckx
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/cpp-netlib/default.nix6
-rw-r--r--pkgs/development/libraries/libpsl/default.nix6
2 files changed, 3 insertions, 9 deletions
diff --git a/pkgs/development/libraries/cpp-netlib/default.nix b/pkgs/development/libraries/cpp-netlib/default.nix
index 685d095a818..64b223d4ebb 100644
--- a/pkgs/development/libraries/cpp-netlib/default.nix
+++ b/pkgs/development/libraries/cpp-netlib/default.nix
@@ -1,11 +1,8 @@
 { stdenv, fetchurl, cmake, boost, openssl }:
 
-let
-  version = "0.11.2";
-in
-
 stdenv.mkDerivation rec {
   name = "cpp-netlib-${version}";
+  version = "0.11.2";
 
   src = fetchurl {
     url = "http://downloads.cpp-netlib.org/${version}/${name}-final.tar.bz2";
@@ -19,7 +16,6 @@ stdenv.mkDerivation rec {
   enableParallelBuilding = true;
 
   meta = with stdenv.lib; {
-    inherit version;
     description = "A collection of open-source libraries for high level network programming";
     homepage    = http://cpp-netlib.org;
     license     = licenses.boost;
diff --git a/pkgs/development/libraries/libpsl/default.nix b/pkgs/development/libraries/libpsl/default.nix
index a1beee602d7..1dc4c57e979 100644
--- a/pkgs/development/libraries/libpsl/default.nix
+++ b/pkgs/development/libraries/libpsl/default.nix
@@ -3,8 +3,6 @@
 
 let
 
-  version = "${libVersion}-list-${listVersion}";
-
   listVersion = "2016-01-15";
   listSources = fetchFromGitHub {
     sha256 = "1smn4fl0fhldy7gdn0k1diyghbxdxnr4cj921bjdl2i4wxas41g5";
@@ -15,8 +13,9 @@ let
 
   libVersion = "0.12.0";
 
-in stdenv.mkDerivation {
+in stdenv.mkDerivation rec {
   name = "libpsl-${version}";
+  version = "${libVersion}-list-${listVersion}";
 
   src = fetchFromGitHub {
     sha256 = "13w3lc752az2swymg408f3w2lbqs0f2h5ri6d5jw1vv9z0ij9xlw";
@@ -54,7 +53,6 @@ in stdenv.mkDerivation {
   doCheck = true;
 
   meta = with stdenv.lib; {
-    inherit version;
     description = "C library for the Publix Suffix List";
     longDescription = ''
       libpsl is a C library for the Publix Suffix List (PSL). A "public suffix"