571c71e6f7
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.
42 lines
857 B
Nix
42 lines
857 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, python310
|
|
, tcl
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "banana-vera";
|
|
version = "1.3.0-ubuntu";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Epitech";
|
|
repo = "banana-vera";
|
|
rev = "refs/tags/v${finalAttrs.version}";
|
|
sha256 = "sha256-sSN3trSySJe3KVyrb/hc5HUGRS4M3c4UX9SLlzBM43c=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [
|
|
python310
|
|
python310.pkgs.boost
|
|
tcl
|
|
];
|
|
|
|
cmakeFlags = [
|
|
"-DVERA_LUA=OFF"
|
|
"-DVERA_USE_SYSTEM_BOOST=ON"
|
|
"-DPANDOC=OFF"
|
|
];
|
|
|
|
meta = {
|
|
mainProgram = "vera++";
|
|
description = "Fork of vera using python3.10";
|
|
homepage = "https://github.com/Epitech/banana-vera";
|
|
license = lib.licenses.boost;
|
|
maintainers = with lib.maintainers; [ sigmanificient ];
|
|
platforms = lib.platforms.linux ++ lib.platforms.darwin;
|
|
};
|
|
})
|