From 531a6ab9a230433d2bb5442a5c2993ef68710779 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 6 Dec 2016 23:29:22 +0100 Subject: m 5 acdcli: init --- makefu/5pkgs/acdcli/default.nix | 20 ++++++++++++++++++++ makefu/5pkgs/default.nix | 1 + 2 files changed, 21 insertions(+) create mode 100644 makefu/5pkgs/acdcli/default.nix (limited to 'makefu/5pkgs') diff --git a/makefu/5pkgs/acdcli/default.nix b/makefu/5pkgs/acdcli/default.nix new file mode 100644 index 000000000..1621375e3 --- /dev/null +++ b/makefu/5pkgs/acdcli/default.nix @@ -0,0 +1,20 @@ +{ lib, pkgs, python3Packages, fetchurl, ... }: + +with python3Packages; buildPythonPackage rec { + name = "acdcli-${version}"; + version = "0.3.2"; + propagatedBuildInputs = [ + dateutil colorama fusepy appdirs requests2 requests_toolbelt six + ]; + src = fetchurl { + url = "mirror://pypi/a/acdcli/${name}.tar.gz"; + sha256 = "1ak9xxpyb7n6iyalf2082jpimklakm0fgm7vsv7qcm8wy6vlq2cw"; + }; + doCheck = false; # ImportError: Failed to import test module: tests + postFixup = '' + mv $out/bin/.acd_cli.py-wrapped $out/bin/acd_cli.py + ''; + meta = { + description = "communicate with amazon drive"; + }; +} diff --git a/makefu/5pkgs/default.nix b/makefu/5pkgs/default.nix index 8994b3856..b62f1efa2 100644 --- a/makefu/5pkgs/default.nix +++ b/makefu/5pkgs/default.nix @@ -5,6 +5,7 @@ let in { nixpkgs.config.packageOverrides = rec { + acdcli = callPackage ./acdcli {}; alsa-hdspconf = callPackage ./alsa-tools { alsaToolTarget="hdspconf";}; alsa-hdspmixer = callPackage ./alsa-tools { alsaToolTarget="hdspmixer";}; alsa-hdsploader = callPackage ./alsa-tools { alsaToolTarget="hdsploader";}; -- cgit v1.2.3