Compare commits
9 Commits
f7e982ac78
...
update_fla
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc869eb000 | ||
|
7802f55a3b
|
|||
|
acbf989e52
|
|||
|
da8690addb
|
|||
|
9b4d32e8d9
|
|||
|
059f3aa9ba
|
|||
|
11657f9c90
|
|||
|
baca5953e3
|
|||
|
984919528a
|
6
flake.lock
generated
6
flake.lock
generated
@@ -20,11 +20,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1756536218,
|
||||
"narHash": "sha256-ynQxPVN2FIPheUgTFhv01gYLbaiSOS7NgWJPm9LF9D0=",
|
||||
"lastModified": 1770537093,
|
||||
"narHash": "sha256-pF1quXG5wsgtyuPOHcLfYg/ft/QMr8NnX0i6tW2187s=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a918bb3594dd243c2f8534b3be01b3cb4ed35fd1",
|
||||
"rev": "fef9403a3e4d31b0a23f0bacebbec52c248fbb51",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
149
pkgs/by-name/am/amulet/deps.nix
Normal file
149
pkgs/by-name/am/amulet/deps.nix
Normal file
@@ -0,0 +1,149 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
# Package dependencies
|
||||
, zlib
|
||||
# Python dependencies
|
||||
, setuptools
|
||||
, cython
|
||||
, lz4
|
||||
, mutf8
|
||||
, numpy_1
|
||||
, pillow
|
||||
, platformdirs
|
||||
, portalocker
|
||||
, versioneer
|
||||
, distutils
|
||||
}:
|
||||
|
||||
let
|
||||
build-system = [
|
||||
setuptools
|
||||
cython
|
||||
versioneer
|
||||
numpy_1
|
||||
];
|
||||
|
||||
platformdirs31 = platformdirs.overrideAttrs (old: {
|
||||
src = fetchPypi {
|
||||
pname = "platformdirs";
|
||||
version = "3.1.1";
|
||||
hash = "sha256-AkmWVJ7ojsGpqpn/f4/IGbtZ4sNHe0ENkKFtMtbnB6o=";
|
||||
};
|
||||
});
|
||||
|
||||
amulet-core = buildPythonPackage rec {
|
||||
pname = "amulet-core";
|
||||
version = "1.9.35";
|
||||
src = fetchPypi {
|
||||
pname = "amulet_core";
|
||||
inherit version;
|
||||
hash = "sha256-JreloREOJ2FGtYDmhrZUMIIXlS+nSrML6ONP98Mc7tI=";
|
||||
};
|
||||
|
||||
pyproject = true;
|
||||
inherit build-system;
|
||||
|
||||
dependencies = [
|
||||
amulet-leveldb
|
||||
amulet-nbt
|
||||
lz4
|
||||
platformdirs31
|
||||
pymctranslate
|
||||
|
||||
((portalocker.overrideAttrs (old: {
|
||||
src = fetchPypi {
|
||||
pname = "portalocker";
|
||||
version = "2.4.0";
|
||||
hash = "sha256-pkitdhuOonNwy1kVNQEizYB7gg0hk+1cnMKPFj32N/Q=";
|
||||
};
|
||||
})).overridePythonAttrs (old: {
|
||||
doCheck = false;
|
||||
}))
|
||||
];
|
||||
};
|
||||
|
||||
amulet-leveldb = buildPythonPackage rec {
|
||||
pname = "amulet-leveldb";
|
||||
version = "1.0.2";
|
||||
src = fetchPypi {
|
||||
pname = "amulet_leveldb";
|
||||
inherit version;
|
||||
hash = "sha256-s6pRHvcb9rxrIeljlb3tDzkrHcCT71jVU1Bn2Aq0FUE=";
|
||||
};
|
||||
|
||||
pyproject = true;
|
||||
inherit build-system;
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
dependencies = [ lz4 ];
|
||||
};
|
||||
|
||||
amulet-nbt = buildPythonPackage rec {
|
||||
pname = "amulet-nbt";
|
||||
version = "2.1.5";
|
||||
src = fetchPypi {
|
||||
pname = "amulet_nbt";
|
||||
inherit version;
|
||||
hash = "sha256-qyM3PvslGZOlJjgTEeXyXNy1oz7jc6eFGYczVD3vuxc=";
|
||||
};
|
||||
|
||||
pyproject = true;
|
||||
inherit build-system;
|
||||
|
||||
dependencies = [ mutf8 ];
|
||||
};
|
||||
|
||||
pymctranslate = buildPythonPackage rec {
|
||||
pname = "pymctranslate";
|
||||
version = "1.2.36";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-XQmDu+5GnaWgHJrfO86Ndwi7GgNUtWPBN4Y10JAa97A=";
|
||||
};
|
||||
|
||||
pyproject = true;
|
||||
inherit build-system;
|
||||
|
||||
dependencies = [ amulet-nbt ];
|
||||
};
|
||||
|
||||
minecraft-resource-pack = buildPythonPackage rec {
|
||||
pname = "minecraft-resource-pack";
|
||||
version = "1.4.6";
|
||||
src = fetchPypi {
|
||||
pname = "minecraft_resource_pack";
|
||||
inherit version;
|
||||
hash = "sha256-ZBl0r+Nxwf1hl51a17WZEXUeFFq5a08kUeD4VSI2Rhk=";
|
||||
};
|
||||
|
||||
pyproject = true;
|
||||
inherit build-system;
|
||||
dependencies = [
|
||||
pillow
|
||||
amulet-nbt
|
||||
platformdirs31
|
||||
];
|
||||
};
|
||||
|
||||
# (buildPythonPackage {
|
||||
# pname = "minecraft-model-reader";
|
||||
# version = "";
|
||||
# src = fetchPypi {
|
||||
# pname = "amulet-nbt";
|
||||
# version = "2.0.6";
|
||||
# hash = "";
|
||||
# };
|
||||
# })
|
||||
in
|
||||
|
||||
{
|
||||
inherit
|
||||
amulet-core
|
||||
amulet-leveldb
|
||||
amulet-nbt
|
||||
pymctranslate
|
||||
minecraft-resource-pack
|
||||
platformdirs31
|
||||
;
|
||||
}
|
||||
68
pkgs/by-name/am/amulet/package.nix
Normal file
68
pkgs/by-name/am/amulet/package.nix
Normal file
@@ -0,0 +1,68 @@
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, python312
|
||||
, zlib
|
||||
}:
|
||||
|
||||
let
|
||||
python = python312;
|
||||
inherit (python.pkgs)
|
||||
buildPythonApplication
|
||||
buildPythonPackage
|
||||
setuptools
|
||||
cython
|
||||
numpy_1
|
||||
pillow
|
||||
pyopengl
|
||||
pyopengl-accelerate
|
||||
versioneer
|
||||
wxpython
|
||||
;
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
cython
|
||||
versioneer
|
||||
numpy_1
|
||||
];
|
||||
|
||||
deps = python.pkgs.callPackage ./deps.nix { };
|
||||
inherit (deps)
|
||||
amulet-core
|
||||
amulet-nbt
|
||||
minecraft-resource-pack
|
||||
platformdirs31
|
||||
;
|
||||
in
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "amulet-map-editor";
|
||||
version = "0.10.48";
|
||||
src = fetchPypi {
|
||||
pname = "amulet_map_editor";
|
||||
inherit version;
|
||||
hash = "sha256-CWXutx9m/N8EZ0tNtPE61sjh5gQ1qb9gLixezonFrsY=";
|
||||
};
|
||||
|
||||
pyproject = true;
|
||||
inherit build-system;
|
||||
|
||||
dependencies = [
|
||||
amulet-core
|
||||
amulet-nbt
|
||||
minecraft-resource-pack
|
||||
pillow
|
||||
platformdirs31
|
||||
pyopengl
|
||||
pyopengl-accelerate
|
||||
|
||||
(wxpython.overridePythonAttrs (prev: {
|
||||
propagatedBuildInputs =
|
||||
lib.filter (p: p.pname != "numpy") prev.propagatedBuildInputs
|
||||
++ [ numpy_1 ];
|
||||
}))
|
||||
|
||||
];
|
||||
|
||||
meta.mainProgram = "amulet_map_editor";
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
, beets
|
||||
, wrapGAppsHook
|
||||
, wrapGAppsHook3
|
||||
}:
|
||||
|
||||
let
|
||||
@@ -48,7 +48,7 @@ python3.pkgs.buildPythonApplication {
|
||||
'';
|
||||
|
||||
# required for apprise
|
||||
nativeBuildInputs = [ wrapGAppsHook ];
|
||||
nativeBuildInputs = [ wrapGAppsHook3 ];
|
||||
|
||||
build-system = with python3.pkgs; [ setuptools ];
|
||||
|
||||
@@ -59,7 +59,7 @@ python3.pkgs.buildPythonApplication {
|
||||
flask
|
||||
flask-cors
|
||||
flask-jwt-extended
|
||||
flask_migrate
|
||||
flask-migrate
|
||||
flask-restx
|
||||
flask-socketio
|
||||
flask-sqlalchemy
|
||||
|
||||
@@ -31,5 +31,6 @@ stdenv.mkDerivation rec {
|
||||
description = "Simple and fast C library implementing a thread-safe API to manage hash-tables, linked lists, lock-free ring buffers and queues ";
|
||||
license = licenses.lgpl3;
|
||||
platforms = platforms.all;
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ pkgs }:
|
||||
{ pkgs, lib }:
|
||||
|
||||
rec {
|
||||
# A functional Jetbrains IDE-with-plugins package set.
|
||||
jetbrains = pkgs.dontRecurseIntoAttrs rec {
|
||||
jetbrains = lib.dontRecurseIntoAttrs rec {
|
||||
jetbrainsPluginsFor = variant: import ../top-level/jetbrains-plugins.nix {
|
||||
inherit (pkgs) lib newScope stdenv fetchzip;
|
||||
inherit variant;
|
||||
@@ -12,9 +12,9 @@ rec {
|
||||
inherit jetbrains jetbrainsPlatforms;
|
||||
};
|
||||
|
||||
clionPlugins = pkgs.dontRecurseIntoAttrs (jetbrainsPluginsFor pkgs.jetbrains.clion);
|
||||
ideaCommunityPlugins = pkgs.dontRecurseIntoAttrs (jetbrainsPluginsFor pkgs.jetbrains.idea-community);
|
||||
ideaUltimatePlugins = pkgs.dontRecurseIntoAttrs (jetbrainsPluginsFor pkgs.jetbrains.idea-ultimate);
|
||||
clionPlugins = lib.dontRecurseIntoAttrs (jetbrainsPluginsFor pkgs.jetbrains.clion);
|
||||
ideaCommunityPlugins = lib.dontRecurseIntoAttrs (jetbrainsPluginsFor pkgs.jetbrains.idea-community);
|
||||
ideaUltimatePlugins = lib.dontRecurseIntoAttrs (jetbrainsPluginsFor pkgs.jetbrains.idea-ultimate);
|
||||
|
||||
clionWithPlugins = clionPlugins.jetbrainsWithPlugins;
|
||||
ideaCommunityWithPlugins = ideaCommunityPlugins.jetbrainsWithPlugins;
|
||||
@@ -25,7 +25,7 @@ rec {
|
||||
python3Packages = pkgs.python3Packages // python3Packages;
|
||||
};
|
||||
|
||||
python3Packages = pkgs.recurseIntoAttrs {
|
||||
python3Packages = lib.recurseIntoAttrs {
|
||||
py-sonic = pkgs.python3.pkgs.callPackage ../development/python-modules/py-sonic { };
|
||||
};
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ let
|
||||
import ./by-name-overlay.nix { inherit pkgs lib; } ../by-name;
|
||||
|
||||
allPackages = _self: _super:
|
||||
import ./all-packages.nix { inherit pkgs; };
|
||||
import ./all-packages.nix { inherit pkgs lib; };
|
||||
|
||||
toFix = (lib.flip lib.composeManyExtensions) (_self: { }) [
|
||||
autoCalledPackages
|
||||
|
||||
Reference in New Issue
Block a user