git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #7872 from matthiasbeyer/fix-khal_python

Fix: khal 0.4.0 does not work with python 3

commit07cdc40222755dc32b3b97cfb6a2da05752eac90 authorJascha Geerds <jg@ekby.de> dateTue 16 Jun 2015, 15:06 (11 years ago) parentd2ad04c2e583a4
3 files changed+12−18
pkgs/applications/misc/khal/default.nix+4−4 pkgs/tools/misc/vdirsyncer/default.nix+6−8 pkgs/top-level/all-packages.nix+2−6
pkgs/applications/misc/khal/default.nix+4−4
@@ -22,13 +22,13 @@ pythonPackages.buildPythonPackage rec {
2222 requests_toolbelt
2323 tzlocal
2424 urwid
25+ python.modules.sqlite3
2526 ];
2627
27− meta = {
28+ meta = with stdenv.lib; {
2829 homepage = http://lostpackets.de/khal/;
2930 description = "CLI calendar application";
30− license = stdenv.lib.licenses.mit;
31− maintainers = with stdenv.lib.maintainers; [ matthiasbeyer ];
31+ license = licenses.mit;
32+ maintainers = with maintainers; [ matthiasbeyer jgeerds ];
3233 };
3334}
34−
pkgs/tools/misc/vdirsyncer/default.nix+6−8
@@ -1,4 +1,4 @@
1−{ lib, fetchurl, pythonPackages }:
1+{ stdenv, fetchurl, pythonPackages }:
22
33pythonPackages.buildPythonPackage rec {
44 version = "0.4.3";
@@ -10,10 +10,9 @@ pythonPackages.buildPythonPackage rec {
1010 sha256 = "0jrxmq8lq0dvqflmh42hhyvc3jjrg1cg3gzfhdcsskj9zz0m6wai";
1111 };
1212
13− pythonPath = with pythonPackages; [
13+ propagatedBuildInputs = with pythonPackages; [
1414 icalendar
1515 click
16− requests
1716 lxml
1817 setuptools
1918 requests_toolbelt
@@ -21,12 +20,11 @@ pythonPackages.buildPythonPackage rec {
2120 atomicwrites
2221 ];
2322
24− meta = {
23+ meta = with stdenv.lib; {
2524 homepage = https://github.com/untitaker/vdirsyncer;
2625 description = "Synchronize calendars and contacts";
27− maintainers = [ lib.maintainers.matthiasbeyer ];
28− platforms = lib.platforms.all;
29− license = lib.licenses.mit;
26+ maintainers = with maintainers; [ matthiasbeyer jgeerds ];
27+ platforms = platforms.all;
28+ license = licenses.mit;
3029 };
3130}
32−
pkgs/top-level/all-packages.nix+2−6
@@ -11615,9 +11615,7 @@ let
1161511615
1161611616 keymon = callPackage ../applications/video/key-mon { };
1161711617
11618− khal = callPackage ../applications/misc/khal {
11619− pythonPackages = python3Packages;
11620− };
11618+ khal = callPackage ../applications/misc/khal { };
1162111619
1162211620 kid3 = callPackage ../applications/audio/kid3 {
1162311621 qt = qt4;
@@ -12689,9 +12687,7 @@ let
1268912687
1269012688 vcprompt = callPackage ../applications/version-management/vcprompt { };
1269112689
12692− vdirsyncer = callPackage ../tools/misc/vdirsyncer {
12693− pythonPackages = python3Packages;
12694− };
12690+ vdirsyncer = callPackage ../tools/misc/vdirsyncer { };
1269512691
1269612692 vdpauinfo = callPackage ../tools/X11/vdpauinfo { };
1269712693