1 { lib, stdenv, fetchzip }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/half/${version}/half-${version}.zip";
9 sha256 = "04v4rhs1ffd4c9zcnk4yjhq0gdqy020518wb7n8ryk1ckrdd7hbm";
14 mkdir -p $out/include $out/share/doc
15 cp $src/include/half.hpp $out/include/
16 cp $src/{ChangeLog,LICENSE,README}.txt $out/share/doc/
20 description = "C++ library for half precision floating point arithmetics";
21 platforms = platforms.all;
22 license = licenses.mit;
23 maintainers = [ maintainers.volth ];