nixpkgs/pkgs/by-name/fl/flamerobin/package.nix
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

49 lines
1.0 KiB
Nix

{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, wxGTK32
, boost
, firebird
}:
stdenv.mkDerivation rec {
version = "0.9.3.12";
pname = "flamerobin";
src = fetchFromGitHub {
owner = "mariuz";
repo = "flamerobin";
rev = version;
sha256 = "sha256-uWx3riRc79VKh7qniWFjxxc7v6l6cW0i31HxoN1BSdA=";
};
patches = [
# rely on compiler command line for __int128 and std::decimal::decimal128
(fetchpatch {
url = "https://github.com/mariuz/flamerobin/commit/8e0ea6d42aa28a4baeaa8c8b8b57c56eb9ae3540.patch";
sha256 = "sha256-l6LWXA/sRQGQKi798bzl0iIJ2vdvXHOjG7wdFSXv+NM=";
})
];
enableParallelBuilding = true;
nativeBuildInputs = [ cmake ];
buildInputs = [
wxGTK32
boost
firebird
];
meta = with lib; {
description = "Database administration tool for Firebird RDBMS";
homepage = "https://github.com/mariuz/flamerobin";
license = licenses.bsdOriginal;
maintainers = with maintainers; [ uralbash ];
platforms = platforms.unix;
mainProgram = "flamerobin";
};
}