From c5a0d594966607dddddfe49874dccff58fe2b092 Mon Sep 17 00:00:00 2001 From: Dom Brown <dom.brown@platonic.systems> Date: Wed, 19 Oct 2022 13:36:59 +0100 Subject: [PATCH] validity-scientific: init at 0.2.0.3 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/validity-scientific.nix | 14 ++++++++++++++ 3 files changed, 17 insertions(+) create mode 100644 pkgs/validity-scientific.nix diff --git a/manifest.dhall b/manifest.dhall index 9e08617e..2dd5e276 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -378,6 +378,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "validity-path" "0.4.0.1" , callHackage "validity-persistent" "0.0.0.0" , callHackage "validity-primitive" "0.0.0.1" + , callHackage "validity-scientific" "0.2.0.3" , callHackage "vault" "0.3.1.5" , callHackage "vector" "0.13.0.0" , callHackage "vector-algorithms" "0.9.0.1" diff --git a/overlay.nix b/overlay.nix index c57ca2cc..e491dd7f 100644 --- a/overlay.nix +++ b/overlay.nix @@ -493,6 +493,8 @@ final: prev: with pkgs.haskell.lib; { validity-primitive = prev.callPackage (./pkgs/validity-primitive.nix) { }; + validity-scientific = prev.callPackage (./pkgs/validity-scientific.nix) { }; + vault = prev.callPackage (./pkgs/vault.nix) { }; vector = prev.callPackage (./pkgs/vector.nix) { }; diff --git a/pkgs/validity-scientific.nix b/pkgs/validity-scientific.nix new file mode 100644 index 00000000..63547750 --- /dev/null +++ b/pkgs/validity-scientific.nix @@ -0,0 +1,14 @@ +{ mkDerivation, base, lib, scientific, validity }: +mkDerivation { + pname = "validity-scientific"; + version = "0.2.0.3"; + sha256 = "773a4a35933637d0bade859dd0e8acadc781d9ccd3b057d60e7ffaaa20e5186f"; + libraryHaskellDepends = [ base scientific validity ]; + doHaddock = false; + jailbreak = true; + doCheck = false; + hyperlinkSource = false; + homepage = "https://github.com/NorfairKing/validity#readme"; + description = "Validity instances for scientific"; + license = lib.licenses.mit; +} \ No newline at end of file -- GitLab