mahlzeit: add 0.1.0

This commit is contained in:
Ingolf Wagner 2020-03-03 18:57:31 +08:00
parent 2648b2e9f3
commit 21125b2682
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
3 changed files with 46 additions and 0 deletions

View file

@ -7,6 +7,7 @@ in {
#unstable.sonic-visualiser
sononym-crawler
darktable
haskellPackages.mahlzeit
];
}

View file

@ -20,6 +20,10 @@ in {
});
};
haskellPackages = super.haskellPackages.override {
overrides = self: super: { mahlzeit = super.callPackage ./mahlzeit { }; };
};
gitlog2json = callPackage ./gitlog2json { };
bitwig-studio3 = callPackage ./bitwig-studio/bitwig-studio3.nix { };

41
pkgs/mahlzeit/default.nix Normal file
View file

@ -0,0 +1,41 @@
{ mkDerivation, ansi-terminal, base, directory, doctest, fetchgit, filepath
, megaparsec, optparse-applicative, prettyprinter, process, raw-strings-qq
, stdenv, tasty, tasty-hunit, text, yaml }:
mkDerivation {
pname = "mahlzeit";
version = "0.1.0";
src = fetchgit {
url = "https://github.com/kmein/mahlzeit";
sha256 = "1k8690x7jnvr9ya2b9biv75wpzy15bn03in6af4bspzihi8w4fyl";
rev = "ea4769ad691de3c6b5b5c161b502a648b663efce";
fetchSubmodules = true;
};
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
ansi-terminal
base
directory
filepath
megaparsec
prettyprinter
text
yaml
];
executableHaskellDepends = [
ansi-terminal
base
directory
filepath
optparse-applicative
process
text
yaml
];
testHaskellDepends =
[ base doctest megaparsec raw-strings-qq tasty tasty-hunit ];
doCheck = false;
homepage = "https://github.com/kmein/mahlzeit";
description = "Recipe toolkit";
license = stdenv.lib.licenses.mit;
}