1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

khard: fix build

Copied the fix from #42782
This commit is contained in:
Gabriel Ebner 2018-07-03 17:08:47 +02:00
parent 99e0f93aac
commit ebf4cfb272

View file

@ -1,6 +1,22 @@
{ stdenv, fetchurl, fetchFromGitHub, glibcLocales, python3Packages }:
{ stdenv, fetchurl, fetchFromGitHub, glibcLocales, python3 }:
python3Packages.buildPythonApplication rec {
let
python = python3.override {
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.12.2";
name = "khard-${version}";
namePrefix = "";
@ -14,7 +30,7 @@ python3Packages.buildPythonApplication rec {
LC_ALL = "en_US.UTF-8";
buildInputs = [ glibcLocales ];
propagatedBuildInputs = with python3Packages; [
propagatedBuildInputs = [
atomicwrites
configobj
vobject