Skip to content

Commit

Permalink
im: init at 3.15
Browse files Browse the repository at this point in the history
Move to by-name

Remove puffnfresh as a maintainer and format
  • Loading branch information
puffnfresh authored and Saturn745 committed Sep 12, 2024
1 parent de2b960 commit 30e4a47
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions pkgs/by-name/im/im/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
lib,
stdenv,
fetchurl,

lsb-release,
which,
pkg-config,
gtk3,
fontconfig,
ftgl,
libGLU,
fftw,
fftwFloat,
lua,
}:

stdenv.mkDerivation rec {
pname = "im";
version = "3.15";

src = fetchurl {
url = "mirror://sourceforge/imtoolkit/${version}/Docs%20and%20Sources/${pname}-${version}_Sources.tar.gz";
sha256 = "sha256-NsxCV/j1+BEouFS7O+KcXL3QkUdlKPMVr2ZtCTC5tX4=";
};

buildInputs = [
lsb-release
which
pkg-config
gtk3
fontconfig
ftgl
libGLU
fftw
fftwFloat
lua
];

sourceRoot = "im/src";

installPhase = ''
install -m755 -d "$out/lib"
install -m644 ../lib/*/lib*.so "$out/lib"
install -m755 -d "$out/include"
install -m644 ../include/* "$out/include"
'';

meta = {
description = "Toolkit for Digital Imaging";
homepage = "http://www.tecgraf.puc-rio.br/im/";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.saturn745 ];
platforms = lib.platforms.linux;
};
}

0 comments on commit 30e4a47

Please sign in to comment.