mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-12 06:19:00 +00:00
vgc: unstable-2022-08-27 -> unstable-2023-02-05
Also, mark it as not broken though it is not properly packaged yet since the executables are not even included.
This commit is contained in:
parent
bbe083cd6a
commit
e8d52088ff
@ -2,6 +2,7 @@
|
|||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, wrapQtAppsHook
|
, wrapQtAppsHook
|
||||||
|
, qtbase
|
||||||
, cmake
|
, cmake
|
||||||
, python3
|
, python3
|
||||||
, harfbuzz
|
, harfbuzz
|
||||||
@ -14,24 +15,32 @@
|
|||||||
# reproducible.
|
# reproducible.
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "vgc";
|
pname = "vgc";
|
||||||
version = "unstable-2022-08-27";
|
version = "unstable-2023-02-05";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "vgc";
|
owner = "vgc";
|
||||||
repo = "vgc";
|
repo = "vgc";
|
||||||
rev = "e7db360f27b059c3dfd0e002c6b29f6a558edd47";
|
rev = "8e8d958ab9f7fa6f741346d60f17af44d7abb592";
|
||||||
sha256 = "sha256-yHQKOMBfMVS9+mwulgTEFOl9bE5CA+psJUaE432YTmo=";
|
sha256 = "sha256-84dckIOrHmxVX7U7VM1Le6tEqG1cJYaAfBcbKqJ6Ros=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ wrapQtAppsHook cmake harfbuzz ];
|
patches = [
|
||||||
|
./patches/set-reproducible-build.patch
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [ python3 git freetype libGLU ];
|
nativeBuildInputs = [ wrapQtAppsHook cmake ];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
python3
|
||||||
|
git
|
||||||
|
freetype
|
||||||
|
harfbuzz
|
||||||
|
libGLU
|
||||||
|
qtbase
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
# Harfbuzz CMake path is not correct. See NixOS/nixpkgs#180054 for the
|
|
||||||
# specific issue. Wait until this has been resolved.
|
|
||||||
broken = true;
|
|
||||||
homepage = "https://www.vgc.io/";
|
homepage = "https://www.vgc.io/";
|
||||||
description =
|
description =
|
||||||
"Upcoming suite of vector-drawing applications that makes use of Vector Graphics Complex (VGC)";
|
"Upcoming suite of vector-drawing applications that makes use of Vector Graphics Complex (VGC)";
|
||||||
|
15
pkgs/vgc/patches/set-reproducible-build.patch
Normal file
15
pkgs/vgc/patches/set-reproducible-build.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/tools/version.py b/tools/version.py
|
||||||
|
index feb53ce..6f03c85 100644
|
||||||
|
--- a/tools/version.py
|
||||||
|
+++ b/tools/version.py
|
||||||
|
@@ -320,8 +320,8 @@ if __name__ == "__main__":
|
||||||
|
res += "buildCompilerVersion=" + buildCompilerVersion + "\n"
|
||||||
|
res += "buildArchitecture=" + buildArchitecture + "\n"
|
||||||
|
res += "buildConfig=" + buildConfig + "\n"
|
||||||
|
- res += "buildDate=" + now.date().isoformat() + "\n"
|
||||||
|
- res += "buildTime=" + now.time().isoformat(timespec="seconds") + "\n"
|
||||||
|
+ res += "buildDate=" + "1970-01-01" + "\n"
|
||||||
|
+ res += "buildTime=" + "00:00:00" + "\n"
|
||||||
|
|
||||||
|
# Write to file
|
||||||
|
versionDir = Path(buildDir) / buildConfig / "resources" / "core"
|
Loading…
Reference in New Issue
Block a user