mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
21155d586f
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/khal/versions. These checks were done: - built on NixOS - Warning: no invocation of /nix/store/wkssgwwqyffwnf7c8p1zi180xjm256il-khal-0.9.9/bin/.ikhal-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/wkssgwwqyffwnf7c8p1zi180xjm256il-khal-0.9.9/bin/ikhal had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/wkssgwwqyffwnf7c8p1zi180xjm256il-khal-0.9.9/bin/.khal-wrapped had a zero exit code or showed the expected version - Warning: no invocation of /nix/store/wkssgwwqyffwnf7c8p1zi180xjm256il-khal-0.9.9/bin/khal had a zero exit code or showed the expected version - 0 of 4 passed binary check by having a zero exit code. - 0 of 4 passed binary check by having the new version present in output. - found 0.9.9 with grep in /nix/store/wkssgwwqyffwnf7c8p1zi180xjm256il-khal-0.9.9 - directory tree listing: https://gist.github.com/a146a88f248f45c280a17c50a0d46b79 - du listing: https://gist.github.com/72d0555178317dce9c07ab814f13f512
45 lines
831 B
Nix
45 lines
831 B
Nix
{ stdenv, pkgs, python3Packages }:
|
|
|
|
with python3Packages;
|
|
|
|
buildPythonApplication rec {
|
|
name = "${pname}-${version}";
|
|
pname = "khal";
|
|
version = "0.9.9";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0dq9aqb9pqjfqrnfg43mhpb7m0szmychxy1ydb3lwzf3500c9rsh";
|
|
};
|
|
|
|
LC_ALL = "en_US.UTF-8";
|
|
|
|
propagatedBuildInputs = [
|
|
atomicwrites
|
|
click
|
|
configobj
|
|
dateutil
|
|
icalendar
|
|
lxml
|
|
pkgs.vdirsyncer
|
|
pytz
|
|
pyxdg
|
|
requests_toolbelt
|
|
tzlocal
|
|
urwid
|
|
pkginfo
|
|
freezegun
|
|
];
|
|
buildInputs = [ setuptools_scm pytest pkgs.glibcLocales ];
|
|
|
|
checkPhase = ''
|
|
# py.test
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = http://lostpackets.de/khal/;
|
|
description = "CLI calendar application";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jgeerds ];
|
|
};
|
|
}
|