Skip to content

Commit

Permalink
fae_linux: properly format
Browse files Browse the repository at this point in the history
uses nixfmt-rfc-style
fix version
better tag referencing
fix casing and setencing
add ninja
  • Loading branch information
Henriquelay committed Nov 26, 2024
1 parent e802602 commit 3761b5d
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 35 deletions.
35 changes: 0 additions & 35 deletions pkgs/by-name/fa/factorio_achievement_enabler/default.nix

This file was deleted.

38 changes: 38 additions & 0 deletions pkgs/by-name/fa/factorio_achievement_enabler/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
ninja,
}:

stdenv.mkDerivation rec {
pname = "fae_linux";
version = "1.3";

src = fetchFromGitHub {
owner = "UnlegitSenpaii";
repo = "FAE_Linux";
rev = "v${version}";
hash = "sha256-lm/s9rc4/2TIT2mzIPwdFoPB9GZm4qluK2yVoL7KwnE";
};

nativeBuildInputs = [
cmake
ninja
];

installPhase = ''
runHook preInstall
mv out $out
runHook postInstall
'';

meta = {
description = "Factorio Achievement Enabler for Linux";
homepage = "https://github.com/UnlegitSenpaii/FAE_Linux/";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ henriquelay ];
platforms = [ "x86_64-linux" ];
};
}

0 comments on commit 3761b5d

Please sign in to comment.