mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 20:49:52 +03:00
opendrop: init at 0.13.0
This commit is contained in:
parent
31e4010472
commit
20513dccbc
41
pkgs/tools/networking/opendrop/default.nix
Normal file
41
pkgs/tools/networking/opendrop/default.nix
Normal file
@ -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 { };
|
graph-easy = callPackage ../tools/graphics/graph-easy { };
|
||||||
|
|
||||||
|
opendrop = python3Packages.callPackage ../tools/networking/opendrop { };
|
||||||
|
|
||||||
owl = callPackage ../tools/networking/owl { };
|
owl = callPackage ../tools/networking/owl { };
|
||||||
|
|
||||||
packer = callPackage ../development/tools/packer { };
|
packer = callPackage ../development/tools/packer { };
|
||||||
|
Loading…
Reference in New Issue
Block a user