From 15568338b96434555d6ffa15ea4abf6495ac7d74 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 6 Dec 2016 23:29:22 +0100 Subject: [PATCH] m 5 acdcli: init --- 5pkgs/acdcli/default.nix | 20 ++++++++++++++++++++ 5pkgs/default.nix | 1 + 2 files changed, 21 insertions(+) create mode 100644 5pkgs/acdcli/default.nix diff --git a/5pkgs/acdcli/default.nix b/5pkgs/acdcli/default.nix new file mode 100644 index 0000000..1621375 --- /dev/null +++ b/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/5pkgs/default.nix b/5pkgs/default.nix index 8994b38..b62f1ef 100644 --- a/5pkgs/default.nix +++ b/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";};