forked from mirrors/nixpkgs
593e11fd94
According to https://repology.org/repository/nix_unstable/problems, we have a lot of packages that have http links that redirect to https as their homepage. This commit updates all these packages to use the https links as their homepage. The following script was used to make these updates: ``` curl https://repology.org/api/v1/repository/nix_unstable/problems \ | jq '.[] | .problem' -r \ | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \ | sort | uniq > script.sed find -name '*.nix' | xargs -P4 -- sed -f script.sed -i ```
31 lines
715 B
Nix
31 lines
715 B
Nix
{ mkDerivation, lib, fetchFromGitHub, cmake, antlr
|
|
, qtbase, qttools, qscintilla, sqlite }:
|
|
|
|
mkDerivation rec {
|
|
pname = "sqlitebrowser";
|
|
version = "3.11.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "0ydd5fg76d5d23byac1f7f8mzx3brmd0cnnkd58qpmlzi7p9hcvx";
|
|
};
|
|
|
|
buildInputs = [ antlr qtbase qscintilla sqlite ];
|
|
|
|
nativeBuildInputs = [ cmake qttools ];
|
|
|
|
NIX_LDFLAGS = "-lQt5PrintSupport";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "DB Browser for SQLite";
|
|
homepage = https://sqlitebrowser.org/;
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|