nile: migrate to pkgs/by-name

This commit is contained in:
Aidan Gauland
2025-04-20 10:26:40 +12:00
parent 6acbb60256
commit 9a111f3bf7
2 changed files with 4 additions and 14 deletions
@@ -1,22 +1,14 @@
{
lib,
gitUpdater,
buildPythonApplication,
python3Packages,
fetchFromGitHub,
pythonOlder,
setuptools,
requests,
protobuf,
pycryptodome,
zstandard,
json5,
platformdirs,
}:
let
version = "1.1.2";
in
buildPythonApplication {
python3Packages.buildPythonApplication {
pname = "nile";
inherit version;
format = "pyproject";
@@ -28,9 +20,9 @@ buildPythonApplication {
hash = "sha256-/C4b8wPKWHGgiheuAN7AvU+KcD5aj5i6KzgFSdTIkNI=";
};
disabled = pythonOlder "3.8";
disabled = python3Packages.pythonOlder "3.8";
propagatedBuildInputs = [
propagatedBuildInputs = with python3Packages; [
setuptools
requests
protobuf
-2
View File
@@ -17396,8 +17396,6 @@ with pkgs;
nethack-x11 = callPackage ../games/nethack { x11Mode = true; };
nile = python3Packages.callPackage ../games/nile { };
npush = callPackage ../games/npush { };
run-npush = callPackage ../games/npush/run.nix { };