This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
28 lines
517 B
Nix
28 lines
517 B
Nix
{
|
|
lib,
|
|
mkDerivation,
|
|
haskellPackages,
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "agda2hs-base";
|
|
|
|
inherit (haskellPackages.agda2hs) src version;
|
|
|
|
postUnpack = ''
|
|
sourceRoot="$sourceRoot/lib/base"
|
|
'';
|
|
|
|
libraryFile = "base.agda-lib";
|
|
|
|
meta = {
|
|
homepage = "https://github.com/agda/agda2hs";
|
|
description = "Standard library for compiling Agda code to readable Haskell";
|
|
license = lib.licenses.mit;
|
|
platforms = lib.platforms.unix;
|
|
maintainers = with lib.maintainers; [
|
|
wrvsrx
|
|
];
|
|
};
|
|
}
|