nixpkgs/pkgs/applications/misc/khard/default.nix

35 lines
866 B
Nix
Raw Normal View History

{ stdenv, fetchurl, fetchFromGitHub, glibcLocales, python3Packages }:
2015-01-30 17:02:05 +01:00
2016-07-31 10:14:13 +02:00
python3Packages.buildPythonApplication rec {
2017-02-18 12:12:22 +01:00
version = "0.11.4";
2015-01-30 17:02:05 +01:00
name = "khard-${version}";
namePrefix = "";
src = fetchurl {
url = "https://github.com/scheibler/khard/archive/v${version}.tar.gz";
2017-02-18 12:12:22 +01:00
sha256 = "1hngg3z5cdjny7wdf2mf9wv35ffx7ivpq6mx7kgqf40fr5905l0r";
2015-01-30 17:02:05 +01:00
};
2016-07-31 10:14:13 +02:00
# setup.py reads the UTF-8 encoded readme.
LC_ALL = "en_US.UTF-8";
buildInputs = [ glibcLocales ];
propagatedBuildInputs = with python3Packages; [
atomicwrites
2015-01-30 17:02:05 +01:00
configobj
vobject
argparse
pyyaml
2015-01-30 17:02:05 +01:00
];
2016-07-31 10:14:13 +02:00
# Fails; but there are no tests anyway.
doCheck = false;
2015-01-30 17:02:05 +01:00
meta = {
homepage = https://github.com/scheibler/khard;
description = "Console carddav client";
license = stdenv.lib.licenses.gpl3;
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
};
}