add(nix): maeel

This commit is contained in:
Léana 江 2024-04-07 21:42:51 +02:00 committed by Léana 江
parent 8271aea4ba
commit 5ff48b0756
3 changed files with 27 additions and 1 deletions

View file

@ -28,6 +28,8 @@ let
};
why3 = callPackage ./why3.nix { inherit alt-ergo; };
maeel = callPackage ./maeel.nix { };
in
{
myPkgs = {
@ -38,6 +40,7 @@ in
hiosevka-nerd-font-mono
hiosevka-nerd-font-propo
why3
maeel
;
};

22
nix/custom/maeel.nix Normal file
View file

@ -0,0 +1,22 @@
{
stdenv,
fetchFromGitHub,
rustc,
}:
stdenv.mkDerivation {
pname = "maeel";
version = "3.0";
src = fetchFromGitHub {
owner = "Traumatism";
repo = "maeel";
rev = "d8e4261266a181904947ef940b6744a6360c93a6";
hash = "sha256-Ee4/N2Q90xsbyGVtpE/yUFWC/ELt8nBAICkR/FlZQOo=";
};
nativeBuildInputs = [ rustc ];
installPhase = ''
mkdir -p "$out/bin"
cp --reflink=auto ./maeel "$out/bin"
'';
}