nixpkgs

My nixpkg collection
git clone https://git.in0rdr.ch/nixpkgs.git
Log | Files | Refs | README

commit 056b0bb0a93766fcbcf970a94dc9a9a63e7649d9
parent 0fb8c78a4a9ad02c95fd33d6b481fc42f7dc5c47
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Fri,  7 Jun 2024 13:26:03 +0200

feat: add oama

Diffstat:
M.gitignore | 1+
Aoama/default.nix | 29+++++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1 +1,2 @@ **result +**.git diff --git a/oama/default.nix b/oama/default.nix @@ -0,0 +1,29 @@ +let + pkgs = import <nixpkgs> { }; + hpkgs = pkgs.haskellPackages; +in + hpkgs.mkDerivation { + pname = "oama"; + version = "0.13.3"; + src = pkgs.fetchgit { + url = "https://github.com/pdobsan/oama.git"; + rev = "refs/tags/0.13.3"; + hash = "sha256-6/Bx8CwBhpjHBVWT5XqrPDVIKAq/hNwo2oildl513UI="; + }; + + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = with hpkgs; [ + aeson base bytestring containers directory hsyslog http-conduit + network-uri optparse-applicative pretty-simple process string-qq + strings text time twain unix utf8-string warp yaml + ]; + executableHaskellDepends = with hpkgs; [ + aeson base bytestring containers directory hsyslog http-conduit + network-uri optparse-applicative pretty-simple process string-qq + strings text time twain unix utf8-string warp yaml + ]; + + mainProgram = "oama"; + license = pkgs.lib.licenses.bsd3; + }