Merge pull request #68144 from fgaz/fgaz/remove-qt-stdenv
Switch my qt packages to qt-specific mkDerivation
This commit is contained in:
commit
3b39b03f05
@ -1,11 +1,14 @@
|
|||||||
{ stdenv, fetchFromGitHub
|
{ lib
|
||||||
|
, mkDerivation
|
||||||
|
, fetchFromGitHub
|
||||||
, cmake
|
, cmake
|
||||||
, qtbase, qtquickcontrols2
|
, qtbase
|
||||||
|
, qtquickcontrols2
|
||||||
, SDL
|
, SDL
|
||||||
, python3
|
, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "sfxr-qt";
|
pname = "sfxr-qt";
|
||||||
version = "1.2.0";
|
version = "1.2.0";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
@ -20,12 +23,13 @@ stdenv.mkDerivation rec {
|
|||||||
(python3.withPackages (pp: with pp; [ pyyaml jinja2 ]))
|
(python3.withPackages (pp: with pp; [ pyyaml jinja2 ]))
|
||||||
];
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase qtquickcontrols2
|
qtbase
|
||||||
|
qtquickcontrols2
|
||||||
SDL
|
SDL
|
||||||
];
|
];
|
||||||
configurePhase = "cmake . -DCMAKE_INSTALL_PREFIX=$out";
|
configurePhase = "cmake . -DCMAKE_INSTALL_PREFIX=$out";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
homepage = https://github.com/agateau/sfxr-qt;
|
homepage = https://github.com/agateau/sfxr-qt;
|
||||||
description = "A sound effect generator, QtQuick port of sfxr";
|
description = "A sound effect generator, QtQuick port of sfxr";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ stdenv
|
{ lib
|
||||||
|
, mkDerivation
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, cmake
|
, cmake
|
||||||
, extra-cmake-modules
|
, extra-cmake-modules
|
||||||
@ -31,7 +32,7 @@
|
|||||||
, enableKisTablet ? false # enable improved graphics tablet support
|
, enableKisTablet ? false # enable improved graphics tablet support
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
commonDeps = [
|
commonDeps = [
|
||||||
@ -57,7 +58,7 @@ let
|
|||||||
qtx11extras
|
qtx11extras
|
||||||
];
|
];
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in mkDerivation rec {
|
||||||
pname = "drawpile";
|
pname = "drawpile";
|
||||||
version = "2.1.11";
|
version = "2.1.11";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user