parent
298f3d6c27
commit
b0fa0bf13c
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, python3Packages, fetchFromGitHub, fetchpatch, glibcLocales, rustPlatform, pkgconfig, openssl, Security }:
|
{ stdenv, python3Packages, fetchFromGitHub, fetchpatch, rustPlatform, pkgconfig, openssl, Security }:
|
||||||
|
|
||||||
# Packaging documentation at:
|
# Packaging documentation at:
|
||||||
# https://github.com/untitaker/vdirsyncer/blob/master/docs/packaging.rst
|
# https://github.com/untitaker/vdirsyncer/blob/master/docs/packaging.rst
|
||||||
@ -32,9 +32,9 @@ python3Packages.buildPythonApplication rec {
|
|||||||
shippai
|
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 = [
|
patches = [
|
||||||
# Fixes for hypothesis: https://github.com/pimutils/vdirsyncer/pull/779
|
# 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/
|
ln -s ${native}/lib/libvdirsyncer_rustext* rust/target/release/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
LC_ALL = "en_US.utf8";
|
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
rm -rf vdirsyncer
|
rm -rf vdirsyncer
|
||||||
export PYTHONPATH=$out/${python3Packages.python.sitePackages}:$PYTHONPATH
|
export PYTHONPATH=$out/${python3Packages.python.sitePackages}:$PYTHONPATH
|
||||||
@ -78,7 +76,6 @@ python3Packages.buildPythonApplication rec {
|
|||||||
homepage = https://github.com/pimutils/vdirsyncer;
|
homepage = https://github.com/pimutils/vdirsyncer;
|
||||||
description = "Synchronize calendars and contacts";
|
description = "Synchronize calendars and contacts";
|
||||||
maintainers = with maintainers; [ matthiasbeyer ];
|
maintainers = with maintainers; [ matthiasbeyer ];
|
||||||
platforms = platforms.all;
|
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user