nix: rename custom -> packages

This commit is contained in:
Primrose 2024-09-22 13:57:30 +02:00
parent 754882bf0d
commit afc2eea47a
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
24 changed files with 1 additions and 1 deletions

22
nix/packages/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"
'';
}