summary refs log tree commit diff
path: root/pkgs/development/python-modules/pyside/apiextractor.nix
diff options
context:
space:
mode:
authorFelix Buehler <account@buehler.rocks>2021-11-09 20:42:54 +0100
committerFelix Buehler <account@buehler.rocks>2021-11-10 14:03:21 +0100
commit345d71ffd0a4f1693cb5d1e74b49fe5c34405705 (patch)
tree8d0b5efaca0bb793655edeb3914fa93c32e13bfc /pkgs/development/python-modules/pyside/apiextractor.nix
parent7a7550f2141658428eaebbeb2684e6a7619172a1 (diff)
pkgs/development: rename name to pname&version
Diffstat (limited to 'pkgs/development/python-modules/pyside/apiextractor.nix')
-rw-r--r--pkgs/development/python-modules/pyside/apiextractor.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/pyside/apiextractor.nix b/pkgs/development/python-modules/pyside/apiextractor.nix
index 9398a62997b2c..5d6f91c1ae79c 100644
--- a/pkgs/development/python-modules/pyside/apiextractor.nix
+++ b/pkgs/development/python-modules/pyside/apiextractor.nix
@@ -3,11 +3,12 @@
 # This derivation does not provide any Python module and should therefore be called via `all-packages.nix`.
 let
   pythonEnv = python3.withPackages(ps: with ps; [  sphinx ]);
-in stdenv.mkDerivation {
-  name = "pyside-apiextractor-0.10.10";
+in stdenv.mkDerivation rec {
+  pname = "pyside-apiextractor";
+  version = "0.10.10";
 
   src = fetchurl {
-    url = "https://github.com/PySide/Apiextractor/archive/0.10.10.tar.gz";
+    url = "https://github.com/PySide/Apiextractor/archive/${version}.tar.gz";
     sha256 = "1zj8yrxy08iv1pk38djxw3faimm226w6wmi0gm32w4yczblylwz3";
   };