mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 08:39:08 +03:00
Merge pull request #287778 from josephsurin/flatter
flatter: init at 0-unstable-2023-08-10
This commit is contained in:
commit
fe1fec511b
@ -9289,6 +9289,12 @@
|
||||
github = "josephst";
|
||||
githubId = 1269177;
|
||||
};
|
||||
josephsurin = {
|
||||
name = "Joseph Surin";
|
||||
email = "nix@jsur.in";
|
||||
github = "josephsurin";
|
||||
githubId = 14977484;
|
||||
};
|
||||
joshniemela = {
|
||||
name = "Joshua Niemelä";
|
||||
email = "josh@jniemela.dk";
|
||||
|
51
pkgs/by-name/fl/flatter/package.nix
Normal file
51
pkgs/by-name/fl/flatter/package.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, unstableGitUpdater
|
||||
, cmake
|
||||
, blas
|
||||
, gmp
|
||||
, mpfr
|
||||
, fplll
|
||||
, eigen
|
||||
, llvmPackages
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "flatter";
|
||||
version = "0-unstable-2023-08-10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "keeganryan";
|
||||
repo = "flatter";
|
||||
rev = "500e31df6b7308e8101b2a4a9cc816bf8f483417";
|
||||
hash = "sha256-STYx7cXvkcF+KqrG32pN16HWfEScc0zxkmOmfv43zIw=";
|
||||
};
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
blas
|
||||
gmp
|
||||
mpfr
|
||||
fplll
|
||||
eigen
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
llvmPackages.openmp
|
||||
];
|
||||
|
||||
passthru.updateScript = unstableGitUpdater { };
|
||||
|
||||
meta = with lib; {
|
||||
description = "(F)ast (lat)tice (r)eduction of integer lattice bases";
|
||||
homepage = "https://github.com/keeganryan/flatter";
|
||||
license = licenses.lgpl3Only;
|
||||
mainProgram = "flatter";
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ josephsurin ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user