stockholm/makefu/5pkgs/acdcli/default.nix

23 lines
676 B
Nix
Raw Normal View History

2016-12-06 22:29:22 +00:00
{ lib, pkgs, python3Packages, fetchurl, ... }:
with python3Packages; buildPythonPackage rec {
name = "acdcli-${version}";
version = "0.3.2";
propagatedBuildInputs = [
2017-05-12 15:52:37 +00:00
dateutil colorama fusepy appdirs requests requests_toolbelt six
2016-12-06 22:29:22 +00:00
];
src = fetchurl {
url = "mirror://pypi/a/acdcli/${name}.tar.gz";
sha256 = "1ak9xxpyb7n6iyalf2082jpimklakm0fgm7vsv7qcm8wy6vlq2cw";
};
doCheck = false; # ImportError: Failed to import test module: tests
2017-02-04 13:35:29 +00:00
# acd_cli gets dumped in bin and gets overwritten by fixupPhase
2016-12-06 22:29:22 +00:00
postFixup = ''
mv $out/bin/.acd_cli.py-wrapped $out/bin/acd_cli.py
'';
meta = {
description = "communicate with amazon drive";
};
}