mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 17:14:33 +00:00
35 lines
866 B
Nix
35 lines
866 B
Nix
{ stdenv, fetchurl, fetchFromGitHub, glibcLocales, python3Packages }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
version = "0.11.4";
|
|
name = "khard-${version}";
|
|
namePrefix = "";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/scheibler/khard/archive/v${version}.tar.gz";
|
|
sha256 = "1hngg3z5cdjny7wdf2mf9wv35ffx7ivpq6mx7kgqf40fr5905l0r";
|
|
};
|
|
|
|
# setup.py reads the UTF-8 encoded readme.
|
|
LC_ALL = "en_US.UTF-8";
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
atomicwrites
|
|
configobj
|
|
vobject
|
|
argparse
|
|
pyyaml
|
|
];
|
|
|
|
# Fails; but there are no tests anyway.
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
homepage = https://github.com/scheibler/khard;
|
|
description = "Console carddav client";
|
|
license = stdenv.lib.licenses.gpl3;
|
|
maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
|
|
};
|
|
}
|