opendrop: init at 0.13.0

main
P. R. d. O 2 years ago
parent 31e4010472
commit 20513dccbc
No known key found for this signature in database
GPG Key ID: 7B0FF33FF90110C7
  1. 41
      pkgs/tools/networking/opendrop/default.nix
  2. 2
      pkgs/top-level/all-packages.nix

@ -0,0 +1,41 @@
{ lib
, buildPythonApplication
, fetchPypi
, fleep
, libarchive-c
, pillow
, requests-toolbelt
, setuptools
, zeroconf }:
buildPythonApplication rec {
pname = "opendrop";
version = "0.13.0";
src = fetchPypi {
inherit version pname;
sha256 = "sha256-FE1oGpL6C9iBhI8Zj71Pm9qkObJvSeU2gaBZwK1bTQc=";
};
propagatedBuildInputs = [
fleep
libarchive-c
pillow
requests-toolbelt
setuptools
zeroconf
];
# There are tests, but getting the following error:
# nix_run_setup: error: argument action: invalid choice: 'test' (choose from 'receive', 'find', 'send')
# Opendrop works as intended though
doCheck = false;
meta = with lib; {
description = "An open Apple AirDrop implementation written in Python";
homepage = "https://owlink.org/";
license = licenses.gpl3Only;
maintainers = with maintainers; [ wolfangaukang ];
platforms = [ "x86_64-linux" ];
};
}

@ -544,6 +544,8 @@ with pkgs;
graph-easy = callPackage ../tools/graphics/graph-easy { };
opendrop = python3Packages.callPackage ../tools/networking/opendrop { };
owl = callPackage ../tools/networking/owl { };
packer = callPackage ../development/tools/packer { };

Loading…
Cancel
Save