pythonPackages: Add version and pname attributes to packages

This commit is contained in:
adisbladis
2017-11-23 17:49:43 +01:00
committed by Frederik Rietdijk
parent 4ae5f31403
commit d99378654f
79 changed files with 240 additions and 137 deletions
+5 -1
View File
@@ -5,11 +5,15 @@
}:
let
pname = "PyQt";
version = "5.9";
inherit (pythonPackages) buildPythonPackage python dbus-python sip;
in buildPythonPackage {
name = "PyQt-${version}";
pname = pname;
version = version;
format = "other";
name = pname + "-" + version;
meta = with lib; {
description = "Python bindings for Qt5";