summary refs log tree commit diff
path: root/pkgs/tools/X11/x2x/default.nix
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-07-27 19:35:11 +0200
committerFelix Buehler <account@buehler.rocks>2021-07-27 20:45:57 +0200
commitb8c370fedfb161e3694619625306c8a2ae34483c (patch)
tree3cd788747ec30a6591001645b8bfbcd8b8a86a15 /pkgs/tools/X11/x2x/default.nix
parent52168faa5b189ef26bd8d0dff9a226a4618dd4e9 (diff)
downloadnixpkgs-b8c370fedfb161e3694619625306c8a2ae34483c.tar
nixpkgs-b8c370fedfb161e3694619625306c8a2ae34483c.tar.gz
nixpkgs-b8c370fedfb161e3694619625306c8a2ae34483c.tar.bz2
nixpkgs-b8c370fedfb161e3694619625306c8a2ae34483c.tar.lz
nixpkgs-b8c370fedfb161e3694619625306c8a2ae34483c.tar.xz
nixpkgs-b8c370fedfb161e3694619625306c8a2ae34483c.tar.zst
nixpkgs-b8c370fedfb161e3694619625306c8a2ae34483c.zip
tools/{X11/video/virtualization}: replace name with pname&version
Diffstat (limited to 'pkgs/tools/X11/x2x/default.nix')
-rw-r--r--pkgs/tools/X11/x2x/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/X11/x2x/default.nix b/pkgs/tools/X11/x2x/default.nix
index 01169e68f6e..f473344ad38 100644
--- a/pkgs/tools/X11/x2x/default.nix
+++ b/pkgs/tools/X11/x2x/default.nix
@@ -1,10 +1,11 @@
 { lib, stdenv, fetchurl, imake, libX11, libXtst, libXext, gccmakedep }:
 
-stdenv.mkDerivation {
-  name = "x2x-1.27";
+stdenv.mkDerivation rec {
+  pname = "x2x";
+  version = "1.27";
 
   src = fetchurl {
-    url = "https://github.com/downloads/dottedmag/x2x/x2x-1.27.tar.gz";
+    url = "https://github.com/downloads/dottedmag/x2x/x2x-${version}.tar.gz";
     sha256 = "0dha0kn1lbc4as0wixsvk6bn4innv49z9a0sm5wlx4q1v0vzqzyj";
   };