khard: 0.14.0 -> 0.15.1
This commit is contained in:
parent
8302338ae9
commit
7e7427e2c0
@ -1,36 +1,15 @@
|
|||||||
{ stdenv, fetchurl, glibcLocales, python3 }:
|
{ stdenv, glibcLocales, python3 }:
|
||||||
|
|
||||||
let
|
python3.pkgs.buildPythonApplication rec {
|
||||||
python = python3.override {
|
version = "0.15.1";
|
||||||
packageOverrides = self: super: {
|
|
||||||
|
|
||||||
# https://github.com/pimutils/khal/issues/780
|
|
||||||
python-dateutil = super.python-dateutil.overridePythonAttrs (oldAttrs: rec {
|
|
||||||
version = "2.6.1";
|
|
||||||
src = oldAttrs.src.override {
|
|
||||||
inherit version;
|
|
||||||
sha256 = "891c38b2a02f5bb1be3e4793866c8df49c7d19baabf9c1bad62547e0b4866aca";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
in with python.pkgs; buildPythonApplication rec {
|
|
||||||
version = "0.14.0";
|
|
||||||
pname = "khard";
|
pname = "khard";
|
||||||
namePrefix = "";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = python3.pkgs.fetchPypi {
|
||||||
url = "https://github.com/scheibler/khard/archive/v${version}.tar.gz";
|
inherit pname version;
|
||||||
sha256 = "0m1pc67jz663yfc0xzfpknymn8jj2bpfxaph3pl0mjd3h1zjfyaq";
|
sha256 = "18ba2xgfq8sw0bg6xmlfjpizid1hkzgswcfcc54gl21y2dwfda2w";
|
||||||
};
|
};
|
||||||
|
|
||||||
# setup.py reads the UTF-8 encoded readme.
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
LC_ALL = "en_US.UTF-8";
|
|
||||||
buildInputs = [ glibcLocales ];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
|
||||||
atomicwrites
|
atomicwrites
|
||||||
configobj
|
configobj
|
||||||
vobject
|
vobject
|
||||||
@ -43,9 +22,6 @@ in with python.pkgs; buildPythonApplication rec {
|
|||||||
install -D misc/zsh/_khard $out/share/zsh/site-functions/_khard
|
install -D misc/zsh/_khard $out/share/zsh/site-functions/_khard
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Fails; but there are no tests anyway.
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = https://github.com/scheibler/khard;
|
homepage = https://github.com/scheibler/khard;
|
||||||
description = "Console carddav client";
|
description = "Console carddav client";
|
||||||
|
Loading…
Reference in New Issue
Block a user