make it a nix flake

This commit is contained in:
Dennis Frieberg 2023-10-30 12:12:46 +01:00
parent fd9e5545f5
commit 5c0134bd06
Signed by: nerf
GPG key ID: 42DED0E2D8F04FB6
8 changed files with 119 additions and 1 deletions

View file

@ -0,0 +1,2 @@
{pkgs ? import <nixpkgs> {}, ...}:
pkgs.haskellPackages.callPackage ./tickLeiste-aeson.nix {}

View file

@ -0,0 +1,12 @@
{ mkDerivation, aeson, base, hpack, lib, text, tickLeiste, uuid }:
mkDerivation {
pname = "tickLeiste-aeson";
version = "0.1.0.0";
src = ./.;
libraryHaskellDepends = [ aeson base text tickLeiste uuid ];
libraryToolDepends = [ hpack ];
testHaskellDepends = [ aeson base text tickLeiste uuid ];
prePatch = "hpack";
homepage = "https://github.com/githubuser/tickLeiste-aeson#readme";
license = lib.licenses.bsd3;
}