mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
34 lines
817 B
Nix
34 lines
817 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage {
|
|
pname = "egglog";
|
|
version = "0-unstable-2024-01-26";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "egraphs-good";
|
|
repo = "egglog";
|
|
rev = "b78f69ca1f7187c363bb31271c8e8958f477f15d";
|
|
hash = "sha256-/1ktyz8wU1yLTdAFPnupK6jUFjiK6nQfotGRNOWiOsA=";
|
|
};
|
|
|
|
useNextest = true;
|
|
|
|
cargoLock = {
|
|
lockFile = ./Cargo.lock;
|
|
outputHashes = {
|
|
"generic_symbolic_expressions-5.0.3" = "sha256-UX6fS470YJMdNnn0GR3earMGQK3p/YvaFia7IEvGGKg=";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Fixpoint reasoning system that unifies Datalog and equality saturation";
|
|
mainProgram = "egglog";
|
|
homepage = "https://github.com/egraphs-good/egglog";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
};
|
|
}
|