-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
uses nixfmt-rfc-style fix version better tag referencing fix casing and setencing add ninja
- Loading branch information
1 parent
e802602
commit 3761b5d
Showing
2 changed files
with
38 additions
and
35 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ]; | ||
}; | ||
} |