mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 06:33:42 +00:00
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.
44 lines
935 B
Nix
44 lines
935 B
Nix
{ lib, stdenv, fetchhg
|
|
, autoreconfHook
|
|
, boost
|
|
, libglut
|
|
, glew
|
|
, gsl
|
|
, lcms2
|
|
, libpng
|
|
, libtiff
|
|
, libGLU
|
|
, libGL
|
|
, vigra
|
|
, help2man
|
|
, pkg-config
|
|
, perl
|
|
, texliveSmall
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "enblend-enfuse";
|
|
version = "unstable-2022-03-06";
|
|
|
|
src = fetchhg {
|
|
url = "http://hg.code.sf.net/p/enblend/code";
|
|
rev = "0f423c72e51872698fe2985ca3bd453961ffe4e0";
|
|
sha256 = "sha256-0gCUSdg3HR3YeIbOByEBCZh2zGlYur6DeCOzUM53fdc=";
|
|
};
|
|
|
|
buildInputs = [ boost libglut glew gsl lcms2 libpng libtiff libGLU libGL vigra ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook help2man perl pkg-config texliveSmall ];
|
|
|
|
preConfigure = ''
|
|
patchShebangs src/embrace
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://enblend.sourceforge.net/";
|
|
description = "Blends away the seams in a panoramic image mosaic using a multiresolution spline";
|
|
license = licenses.gpl2Plus;
|
|
platforms = with platforms; linux;
|
|
};
|
|
}
|