mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 13:39:15 +03:00
Revert "slint-viewer: init at 1.10.0"
This commit is contained in:
parent
7aa91c307d
commit
5dc7eab0be
2 changed files with 0 additions and 59 deletions
|
@ -6641,13 +6641,6 @@
|
||||||
github = "dsymbol";
|
github = "dsymbol";
|
||||||
githubId = 88138099;
|
githubId = 88138099;
|
||||||
};
|
};
|
||||||
dtomvan = {
|
|
||||||
email = "18gatenmaker6@gmail.com";
|
|
||||||
github = "dtomvan";
|
|
||||||
githubId = 51440893;
|
|
||||||
name = "Tom van Dijk";
|
|
||||||
keys = [ { fingerprint = "D044 F07B 8863 B681 26BD 79FE 7A98 4C82 07AD BA51"; } ];
|
|
||||||
};
|
|
||||||
dtzWill = {
|
dtzWill = {
|
||||||
email = "w@wdtz.org";
|
email = "w@wdtz.org";
|
||||||
github = "dtzWill";
|
github = "dtzWill";
|
||||||
|
|
|
@ -1,52 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
rustPlatform,
|
|
||||||
fetchCrate,
|
|
||||||
kdePackages,
|
|
||||||
libGL,
|
|
||||||
nix-update-script,
|
|
||||||
versionCheckHook,
|
|
||||||
withQt6Support ? true,
|
|
||||||
}:
|
|
||||||
|
|
||||||
rustPlatform.buildRustPackage (finalAttrs: {
|
|
||||||
pname = "slint-viewer";
|
|
||||||
version = "1.10.0";
|
|
||||||
|
|
||||||
src = fetchCrate {
|
|
||||||
inherit (finalAttrs) pname version;
|
|
||||||
hash = "sha256-i6JB/bc8lQE9K9Jy1mUz2I/LKIoEtc/dgJzsQTcEXeQ=";
|
|
||||||
};
|
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
|
||||||
cargoHash = "sha256-fXREHHPR2CZtyvvOdL5wKnkmT1q9Xj+ik2lR/52ApLI=";
|
|
||||||
|
|
||||||
CXXFLAGS = lib.optionals withQt6Support [
|
|
||||||
"-I ${lib.getDev libGL}/include"
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = lib.optionals withQt6Support (
|
|
||||||
with kdePackages;
|
|
||||||
[
|
|
||||||
qtbase
|
|
||||||
qtsvg
|
|
||||||
wrapQtAppsHook
|
|
||||||
]
|
|
||||||
);
|
|
||||||
|
|
||||||
# There are no tests
|
|
||||||
doCheck = false;
|
|
||||||
doInstallCheck = true;
|
|
||||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
|
||||||
|
|
||||||
passthru.updateScript = nix-update-script { };
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Viewer for .slint files from the Slint Project";
|
|
||||||
mainProgram = "slint-viewer";
|
|
||||||
homepage = "https://github.com/slint-ui/slint/tree/master/tools/viewer";
|
|
||||||
license = lib.licenses.gpl3Only;
|
|
||||||
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
|
||||||
maintainers = with lib.maintainers; [ dtomvan ];
|
|
||||||
};
|
|
||||||
})
|
|
Loading…
Add table
Add a link
Reference in a new issue