-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to by-name Remove puffnfresh as a maintainer and format
- Loading branch information
1 parent
de2b960
commit 30e4a47
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
}; | ||
} |