m 5 acdcli: init

This commit is contained in:
makefu 2016-12-06 23:29:22 +01:00
parent ab5b81b0b4
commit 531a6ab9a2
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 21 additions and 0 deletions

View File

@ -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";
};
}

View File

@ -5,6 +5,7 @@ let
in in
{ {
nixpkgs.config.packageOverrides = rec { nixpkgs.config.packageOverrides = rec {
acdcli = callPackage ./acdcli {};
alsa-hdspconf = callPackage ./alsa-tools { alsaToolTarget="hdspconf";}; alsa-hdspconf = callPackage ./alsa-tools { alsaToolTarget="hdspconf";};
alsa-hdspmixer = callPackage ./alsa-tools { alsaToolTarget="hdspmixer";}; alsa-hdspmixer = callPackage ./alsa-tools { alsaToolTarget="hdspmixer";};
alsa-hdsploader = callPackage ./alsa-tools { alsaToolTarget="hdsploader";}; alsa-hdsploader = callPackage ./alsa-tools { alsaToolTarget="hdsploader";};