summary refs log tree commit diff
path: root/pkgs/development/libraries/libinfinity
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-11-24 15:40:04 +0100
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2018-04-26 08:35:00 +0200
commit274579cc95ae33457b5cd643ea030d1f530eb31e (patch)
tree6cbe194988b8674ddbcfefef56d076b8832f8356 /pkgs/development/libraries/libinfinity
parent78d9bffc0a69fcf7acf40674211b395908aa39db (diff)
downloadnixpkgs-274579cc95ae33457b5cd643ea030d1f530eb31e.tar
nixpkgs-274579cc95ae33457b5cd643ea030d1f530eb31e.tar.gz
nixpkgs-274579cc95ae33457b5cd643ea030d1f530eb31e.tar.bz2
nixpkgs-274579cc95ae33457b5cd643ea030d1f530eb31e.tar.lz
nixpkgs-274579cc95ae33457b5cd643ea030d1f530eb31e.tar.xz
nixpkgs-274579cc95ae33457b5cd643ea030d1f530eb31e.tar.zst
nixpkgs-274579cc95ae33457b5cd643ea030d1f530eb31e.zip
nixos/infinoted: Abstract over libinfinity version
Diffstat (limited to 'pkgs/development/libraries/libinfinity')
-rw-r--r--pkgs/development/libraries/libinfinity/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libinfinity/default.nix b/pkgs/development/libraries/libinfinity/default.nix
index 944cf7a6f5e..208e0111062 100644
--- a/pkgs/development/libraries/libinfinity/default.nix
+++ b/pkgs/development/libraries/libinfinity/default.nix
@@ -12,7 +12,8 @@ let
 
 in stdenv.mkDerivation rec {
 
-  name = "libinfinity-0.7.1";
+  name = "libinfinity-${version}";
+  version = "0.7.1";
   src = fetchurl {
     url = "http://releases.0x539.de/libinfinity/${name}.tar.gz";
     sha256 = "1jw2fhrcbpyz99bij07iyhy9ffyqdn87vl8cb1qz897y3f2f0vk2";
@@ -36,6 +37,10 @@ in stdenv.mkDerivation rec {
     ${edf avahiSupport "avahi"}
   '';
 
+  passthru = {
+    inherit version;
+  };
+
   meta = {
     homepage = http://gobby.0x539.de/;
     description = "An implementation of the Infinote protocol written in GObject-based C";