vdirsyncer: cleanup

See https://github.com/NixOS/nixpkgs/pull/59010
This commit is contained in:
Gabriel Ebner 2019-04-05 17:07:54 +02:00
parent 298f3d6c27
commit b0fa0bf13c

View file

@ -1,4 +1,4 @@
{ stdenv, python3Packages, fetchFromGitHub, fetchpatch, glibcLocales, rustPlatform, pkgconfig, openssl, Security }:
{ stdenv, python3Packages, fetchFromGitHub, fetchpatch, rustPlatform, pkgconfig, openssl, Security }:
# Packaging documentation at:
# https://github.com/untitaker/vdirsyncer/blob/master/docs/packaging.rst
@ -32,9 +32,9 @@ python3Packages.buildPythonApplication rec {
shippai
];
buildInputs = with python3Packages; [ setuptools_scm ];
nativeBuildInputs = with python3Packages; [ setuptools_scm ];
checkInputs = with python3Packages; [ hypothesis pytest pytest-localserver pytest-subtesthack ] ++ [ glibcLocales ];
checkInputs = with python3Packages; [ hypothesis pytest pytest-localserver pytest-subtesthack ];
patches = [
# Fixes for hypothesis: https://github.com/pimutils/vdirsyncer/pull/779
@ -66,8 +66,6 @@ python3Packages.buildPythonApplication rec {
ln -s ${native}/lib/libvdirsyncer_rustext* rust/target/release/
'';
LC_ALL = "en_US.utf8";
checkPhase = ''
rm -rf vdirsyncer
export PYTHONPATH=$out/${python3Packages.python.sitePackages}:$PYTHONPATH
@ -78,7 +76,6 @@ python3Packages.buildPythonApplication rec {
homepage = https://github.com/pimutils/vdirsyncer;
description = "Synchronize calendars and contacts";
maintainers = with maintainers; [ matthiasbeyer ];
platforms = platforms.all;
license = licenses.mit;
};
}