mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
pythonPackages.pyside2-tools: init at 5.12.3
This commit is contained in:
parent
be4d04de47
commit
b21ec0b9bf
2 changed files with 39 additions and 0 deletions
35
pkgs/development/python-modules/pyside2-tools/default.nix
Normal file
35
pkgs/development/python-modules/pyside2-tools/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ buildPythonPackage, wrapPython, python, fetchurl, stdenv, cmake, qt5,
|
||||
shiboken2, pyside2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pyside2-tools";
|
||||
|
||||
inherit (pyside2) version src;
|
||||
|
||||
postPatch = ''
|
||||
cd sources/pyside2-tools
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake wrapPython ];
|
||||
propagatedBuildInputs = [ shiboken2 pyside2 ];
|
||||
buildInputs = [ python qt5.qtbase ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_TESTS=OFF"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
rm $out/bin/pyside_tool.py
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
wrapPythonPrograms
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "PySide2 development tools";
|
||||
license = licenses.gpl2;
|
||||
homepage = "https://wiki.qt.io/Qt_for_Python";
|
||||
maintainers = with maintainers; [ gebner ];
|
||||
};
|
||||
}
|
|
@ -809,6 +809,10 @@ in {
|
|||
inherit (pkgs) cmake qt5 llvmPackages;
|
||||
});
|
||||
|
||||
pyside2-tools = toPythonModule (callPackage ../development/python-modules/pyside2-tools {
|
||||
inherit (pkgs) cmake qt5;
|
||||
});
|
||||
|
||||
pyslurm = callPackage ../development/python-modules/pyslurm {
|
||||
slurm = pkgs.slurm;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue