refactor(package): pull out all realization from default.nix

This commit is contained in:
2025-11-03 20:08:20 +00:00
parent 94fbbdf0d9
commit 9d97fd8d87
11 changed files with 123 additions and 114 deletions

30
package/py3-marzban.nix Normal file
View File

@@ -0,0 +1,30 @@
{ self,fetchPypi, python3Packages, system }: python3Packages.buildPythonPackage rec {
pname = "marzban";
version = "0.4.3";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-z71Wl4AuET3oES7/48u+paL9F12SdrkohcEee/tkWVk=";
};
format = "pyproject";
propagatedBuildInputs = with python3Packages; [
httpx
paramiko
sshtunnel
];
nativeBuildInputs = (with python3Packages; [
setuptools
wheel
setuptools-scm
httpx
pydantic
paramiko
sshtunnel
]) ++ (with self.packages.${system}; [
py3-datetime
]);
doCheck = false;
}