2016-10-10 14:21:23 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gf2x-${version}";
|
|
|
|
version = "1.1";
|
2017-03-02 22:21:47 +00:00
|
|
|
|
2016-10-10 14:21:23 +00:00
|
|
|
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://gforge.inria.fr/frs/download.php/file/30873/gf2x-1.1.tar.gz";
|
|
|
|
sha256 = "17w4b39j9dvri5s278pxi8ha7mf47j87kq1lr802l4408rh02gqd";
|
|
|
|
};
|
2017-03-02 22:21:47 +00:00
|
|
|
|
2016-10-10 14:21:23 +00:00
|
|
|
meta = {
|
|
|
|
description = ''Routines for fast arithmetic in GF(2)[x]'';
|
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
2017-03-02 22:21:47 +00:00
|
|
|
platforms = ["x86_64-linux"];
|
2016-10-10 14:21:23 +00:00
|
|
|
};
|
|
|
|
}
|