mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
* nix: get source tarball with update.py * nix: build from source nix: remove u2c and partyfuse packages The main copyparty package has u2c and partyfuse, so these packages are redundant now nix: add fusepy dependency fix: nix: use replace pyfuse with fusepy * nix: fix extra python packages * nix: add optional dependencies * nix: add partftpy package * nix: add tftp parameter to package * nix: enable pyproject for partftpy package * nix: replace partftpy overlay with real package * nix: add updater for partftpy * nix: bring back local release pin to update.py nix: update local release pin function in update.py --------- Signed-off-by: Toast <39011842+toast003@users.noreply.github.com>
31 lines
590 B
Nix
31 lines
590 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchurl,
|
|
setuptools,
|
|
}:
|
|
let
|
|
pinData = lib.importJSON ./pin.json;
|
|
in
|
|
|
|
buildPythonPackage rec {
|
|
pname = "partftpy";
|
|
inherit (pinData) version;
|
|
pyproject = true;
|
|
|
|
src = fetchurl {
|
|
inherit (pinData) url hash;
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
pythonImportsCheck = [ "partftpy.TftpServer" ];
|
|
|
|
meta = {
|
|
description = "Pure Python TFTP library (copyparty edition)";
|
|
homepage = "https://github.com/9001/partftpy";
|
|
changelog = "https://github.com/9001/partftpy/releases/tag/${version}";
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|