From 22105529b63061f5dcd16360684b1e6582784d67 Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sat, 5 Nov 2022 12:52:17 +0000 Subject: [PATCH] barbies: init at 2.0.3.1 --- manifest.dhall | 1 + overlay.nix | 2 ++ pkgs/barbies.nix | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 100644 pkgs/barbies.nix diff --git a/manifest.dhall b/manifest.dhall index 688d5f61..1ab55ad4 100644 --- a/manifest.dhall +++ b/manifest.dhall @@ -90,6 +90,7 @@ in [ callHackage "Cabal" "3.8.1.0" , callHackage "autodocodec-schema" "0.1.0.2" , callHackage "autodocodec-servant-multipart" "0.0.0.0" , callHackage "autodocodec-yaml" "0.2.0.2" + , callHackage "barbies" "2.0.3.1" , callHackage "basement" "0.0.15" , callHackage "base64" "0.4.2.4" , callHackage "base-compat" "0.12.2" diff --git a/overlay.nix b/overlay.nix index 130ce09f..46ee22be 100644 --- a/overlay.nix +++ b/overlay.nix @@ -63,6 +63,8 @@ final: prev: with pkgs.haskell.lib; { autodocodec-yaml = prev.callPackage (./pkgs/autodocodec-yaml.nix) { }; + barbies = prev.callPackage (./pkgs/barbies.nix) { }; + base-compat = prev.callPackage (./pkgs/base-compat.nix) { }; base-compat-batteries = prev.callPackage (./pkgs/base-compat-batteries.nix) { }; diff --git a/pkgs/barbies.nix b/pkgs/barbies.nix new file mode 100644 index 00000000..f6619d65 --- /dev/null +++ b/pkgs/barbies.nix @@ -0,0 +1,38 @@ +{ mkDerivation +, base +, distributive +, lib +, QuickCheck +, tasty +, tasty-hunit +, tasty-quickcheck +, transformers +}: +mkDerivation { + pname = "barbies"; + version = "2.0.3.1"; + sha256 = "a13c1fd05e3e006bd0874d77e1930c5225765e83fa9925b2c5c1df314559df3d"; + isLibrary = true; + isExecutable = false; + enableSeparateDataOutput = false; + libraryHaskellDepends = [ base distributive transformers ]; + testHaskellDepends = [ + base + distributive + QuickCheck + tasty + tasty-hunit + tasty-quickcheck + ]; + enableLibraryProfiling = false; + enableExecutableProfiling = false; + doHaddock = false; + jailbreak = true; + doCheck = false; + doBenchmark = false; + hyperlinkSource = false; + homepage = "https://github.com/jcpetruzza/barbies#readme"; + description = "Classes for working with types that can change clothes"; + license = lib.licenses.bsd3; + broken = false; +} -- GitLab