nixpkgs/pkgs/by-name/ln/lngen/package.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

25 lines
778 B
Nix

{ lib
, haskellPackages
, fetchFromGitHub
}:
haskellPackages.mkDerivation {
pname = "lngen";
version = "unstable-2023-10-17";
src = fetchFromGitHub {
owner = "plclub";
repo = "lngen";
rev = "c7645001404e0e2fec2c56f128e30079b5b3fac6";
hash = "sha256-2vUYHtl9yAadwdTtsjTI0klP+nRSYGXVpaSwD9EBTTI=";
};
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = with haskellPackages; [ base syb parsec containers mtl ];
executableHaskellDepends = with haskellPackages; [ base ];
homepage = "https://github.com/plclub/lngen";
description = "Tool for generating Locally Nameless definitions and proofs in Coq, working together with Ott";
maintainers = with lib.maintainers; [ chen ];
license = lib.licenses.mit;
mainProgram = "lngen";
}