From 1998a0d4d23a49a08b07d64cbceb5fa06407495c Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Mon, 10 Oct 2016 16:21:23 +0200 Subject: [PATCH] gf2x: init at 1.1 --- pkgs/development/libraries/gf2x/default.nix | 18 ++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 20 insertions(+) create mode 100644 pkgs/development/libraries/gf2x/default.nix diff --git a/pkgs/development/libraries/gf2x/default.nix b/pkgs/development/libraries/gf2x/default.nix new file mode 100644 index 000000000000..feba97f4da4c --- /dev/null +++ b/pkgs/development/libraries/gf2x/default.nix @@ -0,0 +1,18 @@ +{stdenv, fetchurl}: +stdenv.mkDerivation rec { + name = "gf2x-${version}"; + version = "1.1"; + # 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"; + }; + buildInputs = []; + meta = { + inherit version; + description = ''Routines for fast arithmetic in GF(2)[x]''; + license = stdenv.lib.licenses.gpl2Plus; + maintainers = [stdenv.lib.maintainers.raskin]; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 47e8a81251a1..1ee74eb3841c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6970,6 +6970,8 @@ in gettext = callPackage ../development/libraries/gettext { }; + gf2x = callPackage ../development/libraries/gf2x {}; + gd = callPackage ../development/libraries/gd { libtiff = null; libXpm = null;