mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 19:14:14 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
37 lines
707 B
Nix
37 lines
707 B
Nix
{ lib, fetchFromGitHub, buildDunePackage
|
|
, iter
|
|
, containers
|
|
, mdx
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "msat";
|
|
version = "0.9.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Gbury";
|
|
repo = "mSAT";
|
|
rev = "v${version}";
|
|
hash = "sha256-ER7ZUejW+Zy3l2HIoFDYbR8iaKMvLZWaeWrOAAYXjG4=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
iter
|
|
];
|
|
|
|
postPatch = ''
|
|
substituteInPlace dune --replace mdx ocaml-mdx
|
|
'';
|
|
|
|
doCheck = true;
|
|
checkInputs = [ containers ];
|
|
nativeCheckInputs = [ mdx.bin ];
|
|
|
|
meta = {
|
|
description = "Modular sat/smt solver with proof output";
|
|
homepage = "https://gbury.github.io/mSAT/";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
};
|
|
}
|