2022-03-10 21:52:12 +01:00
|
|
|
{
|
|
|
|
|
lib,
|
|
|
|
|
fetchFromGitHub,
|
|
|
|
|
mkDerivation,
|
|
|
|
|
ansi-terminal,
|
|
|
|
|
base,
|
|
|
|
|
directory,
|
|
|
|
|
doctest,
|
|
|
|
|
filepath,
|
|
|
|
|
megaparsec,
|
|
|
|
|
optparse-applicative,
|
|
|
|
|
prettyprinter,
|
|
|
|
|
process,
|
|
|
|
|
raw-strings-qq,
|
|
|
|
|
stdenv,
|
|
|
|
|
tasty,
|
|
|
|
|
tasty-hunit,
|
|
|
|
|
text,
|
|
|
|
|
yaml,
|
2021-12-22 22:55:43 +01:00
|
|
|
}:
|
|
|
|
|
mkDerivation {
|
|
|
|
|
pname = "mahlzeit";
|
|
|
|
|
version = "0.1.0";
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "kmein";
|
|
|
|
|
repo = "mahlzeit";
|
|
|
|
|
rev = "954c0fb3f45815999bc65d003794af6a850b069c";
|
|
|
|
|
sha256 = "046yrr40hjmxkjmwzcvmwb39fxx2v2i6hgdxrjfiwilzvhikarrg";
|
|
|
|
|
};
|
|
|
|
|
isLibrary = true;
|
|
|
|
|
isExecutable = true;
|
|
|
|
|
libraryHaskellDepends = [
|
2022-03-10 21:52:12 +01:00
|
|
|
ansi-terminal
|
|
|
|
|
base
|
|
|
|
|
directory
|
|
|
|
|
filepath
|
|
|
|
|
megaparsec
|
|
|
|
|
prettyprinter
|
|
|
|
|
text
|
2021-12-22 22:55:43 +01:00
|
|
|
yaml
|
|
|
|
|
];
|
|
|
|
|
executableHaskellDepends = [
|
2022-03-10 21:52:12 +01:00
|
|
|
ansi-terminal
|
|
|
|
|
base
|
|
|
|
|
directory
|
|
|
|
|
filepath
|
|
|
|
|
optparse-applicative
|
|
|
|
|
process
|
|
|
|
|
text
|
|
|
|
|
yaml
|
2021-12-22 22:55:43 +01:00
|
|
|
];
|
|
|
|
|
testHaskellDepends = [
|
2022-03-10 21:52:12 +01:00
|
|
|
base
|
|
|
|
|
doctest
|
|
|
|
|
megaparsec
|
|
|
|
|
raw-strings-qq
|
|
|
|
|
tasty
|
|
|
|
|
tasty-hunit
|
2021-12-22 22:55:43 +01:00
|
|
|
];
|
|
|
|
|
homepage = "https://github.com/kmein/mahlzeit";
|
|
|
|
|
description = "Recipe toolkit";
|
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
|
}
|