pythonPackages: Add version and pname attributes to packages
This commit is contained in:
committed by
Frederik Rietdijk
parent
4ae5f31403
commit
d99378654f
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user