smokegen,smokeqt: enable strictDeps and don't use pkgs
This commit is contained in:
parent
92b4f17380
commit
e600ef059c
2 changed files with 23 additions and 15 deletions
|
@ -1,16 +1,18 @@
|
||||||
{ pkgs, lib, ... }:
|
{ stdenv, lib, cmake, qt4, fetchzip }:
|
||||||
|
|
||||||
pkgs.stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "smokegen";
|
pname = "smokegen";
|
||||||
version = "v4.14.3";
|
version = "4.14.3";
|
||||||
src = pkgs.fetchzip {
|
|
||||||
url = "https://invent.kde.org/unmaintained/${pname}/-/archive/${version}/${pname}-${version}.tar.gz";
|
src = fetchzip {
|
||||||
|
url = "https://invent.kde.org/unmaintained/${pname}/-/archive/v${version}/${pname}-v${version}.tar.gz";
|
||||||
hash = "sha256-finsoruPeJZLawIjNUJ25Pq54eaCByfALVraNQJPk7c=";
|
hash = "sha256-finsoruPeJZLawIjNUJ25Pq54eaCByfALVraNQJPk7c=";
|
||||||
};
|
};
|
||||||
buildInputs = [ pkgs.cmake pkgs.qt4 ];
|
|
||||||
buildPhase = ''
|
strictDeps = true;
|
||||||
cmake .
|
nativeBuildInputs = [ cmake qt4 ];
|
||||||
'';
|
buildInputs = [ qt4 ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A general purpose C++ parser with a plugin infrastructure";
|
description = "A general purpose C++ parser with a plugin infrastructure";
|
||||||
homepage = "https://invent.kde.org/unmaintained/smokegen";
|
homepage = "https://invent.kde.org/unmaintained/smokegen";
|
||||||
|
|
|
@ -1,16 +1,22 @@
|
||||||
{ pkgs, lib, ... }:
|
{ stdenv, lib, cmake, qt4, smokegen, fetchzip }:
|
||||||
|
|
||||||
pkgs.stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "smokeqt";
|
pname = "smokeqt";
|
||||||
version = "v4.14.3";
|
version = "4.14.3";
|
||||||
src = pkgs.fetchzip {
|
|
||||||
url = "https://invent.kde.org/unmaintained/${pname}/-/archive/${version}/${pname}-${version}.tar.gz";
|
src = fetchzip {
|
||||||
|
url = "https://invent.kde.org/unmaintained/${pname}/-/archive/v${version}/${pname}-v${version}.tar.gz";
|
||||||
hash = "sha256-8FiEGF8gduVw5I/bi2wExGUWmjIjYEhWpjpXKJGBNMg=";
|
hash = "sha256-8FiEGF8gduVw5I/bi2wExGUWmjIjYEhWpjpXKJGBNMg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
|
nativeBuildInputs = [ cmake smokegen ];
|
||||||
|
buildInputs = [ qt4 ];
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_CXX_STANDARD=98"
|
"-DCMAKE_CXX_STANDARD=98"
|
||||||
];
|
];
|
||||||
buildInputs = [ pkgs.cmake pkgs.qt4 pkgs.smokegen ];
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Bindings for the Qt libraries";
|
description = "Bindings for the Qt libraries";
|
||||||
homepage = "https://invent.kde.org/unmaintained/smokeqt";
|
homepage = "https://invent.kde.org/unmaintained/smokeqt";
|
||||||
|
|
Loading…
Reference in a new issue