mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
sqlitestudio: init at 3.4.4 (#336505)
This commit is contained in:
commit
9f6d48ddc6
@ -1902,6 +1902,13 @@
|
||||
githubId = 7745457;
|
||||
name = "Astavie";
|
||||
};
|
||||
asterismono = {
|
||||
email = "cmiki@amono.me";
|
||||
github = "AsterisMono";
|
||||
githubId = 54884471;
|
||||
name = "Chatnoir Miki";
|
||||
matrix = "@mikiiki:matrix.org";
|
||||
};
|
||||
astro = {
|
||||
email = "astro@spaceboyz.net";
|
||||
github = "astro";
|
||||
|
75
pkgs/by-name/sq/sqlitestudio/package.nix
Normal file
75
pkgs/by-name/sq/sqlitestudio/package.nix
Normal file
@ -0,0 +1,75 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
libsForQt5,
|
||||
readline,
|
||||
tcl,
|
||||
python3,
|
||||
copyDesktopItems,
|
||||
makeDesktopItem,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sqlitestudio";
|
||||
version = "3.4.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pawelsalawa";
|
||||
repo = "sqlitestudio";
|
||||
rev = version;
|
||||
hash = "sha256-5oBYv8WxyfVvvqr15XApvn6P/lBxR8b6E+2acRkvX0U=";
|
||||
};
|
||||
|
||||
nativeBuildInputs =
|
||||
[ copyDesktopItems ]
|
||||
++ (with libsForQt5.qt5; [
|
||||
qmake
|
||||
qttools
|
||||
wrapQtAppsHook
|
||||
]);
|
||||
|
||||
buildInputs =
|
||||
[
|
||||
readline
|
||||
tcl
|
||||
python3
|
||||
]
|
||||
++ (with libsForQt5.qt5; [
|
||||
qtbase
|
||||
qtsvg
|
||||
qtdeclarative
|
||||
qtscript
|
||||
]);
|
||||
|
||||
qmakeFlags = [ "./SQLiteStudio3" ];
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "sqlitestudio";
|
||||
desktopName = "SQLiteStudio";
|
||||
exec = "sqlitestudio";
|
||||
icon = "sqlitestudio";
|
||||
comment = "Database manager for SQLite";
|
||||
terminal = false;
|
||||
startupNotify = false;
|
||||
categories = [ "Development" ];
|
||||
})
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
install -Dm755 \
|
||||
./SQLiteStudio3/guiSQLiteStudio/img/sqlitestudio.svg \
|
||||
$out/share/pixmaps/sqlitestudio.svg
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "Free, open source, multi-platform SQLite database manager";
|
||||
homepage = "https://sqlitestudio.pl/";
|
||||
license = lib.licenses.gpl3;
|
||||
mainProgram = "sqlitestudio";
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ asterismono ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user