vdirsyncer: 0.9.0 -> 0.9.2
Also activate the automated testing
This commit is contained in:
parent
d373ef3508
commit
32dcc5a31b
@ -1,29 +1,32 @@
|
|||||||
{ stdenv, fetchurl, pythonPackages }:
|
{ stdenv, fetchurl, pythonPackages, glibcLocales }:
|
||||||
|
|
||||||
|
# Packaging documentation at:
|
||||||
|
# https://github.com/untitaker/vdirsyncer/blob/master/docs/packaging.rst
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
version = "0.9.0";
|
version = "0.9.2";
|
||||||
name = "vdirsyncer-${version}";
|
name = "vdirsyncer-${version}";
|
||||||
namePrefix = "";
|
namePrefix = "";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://pypi.python.org/packages/source/v/vdirsyncer/${name}.tar.gz";
|
url = "https://pypi.python.org/packages/source/v/vdirsyncer/${name}.tar.gz";
|
||||||
sha256 = "0s9awjr9v60rr80xcpwmdhkf4v1yqnydahjmxwvxmh64565is465";
|
sha256 = "1g1107cz4sk41d2z6k6pn9n2fzd26m72j8aj33zn483vfvmyrc4q";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [
|
propagatedBuildInputs = with pythonPackages; [
|
||||||
click click-log click-threading
|
click click-log click-threading
|
||||||
lxml
|
lxml
|
||||||
setuptools
|
|
||||||
setuptools_scm
|
|
||||||
requests_toolbelt
|
requests_toolbelt
|
||||||
requests2
|
requests2
|
||||||
atomicwrites
|
atomicwrites
|
||||||
];
|
];
|
||||||
|
|
||||||
# Unfortunately, checking this package seems a bit too complex
|
buildInputs = with pythonPackages; [hypothesis pytest pytest-localserver pytest-subtesthack setuptools_scm ] ++ [ glibcLocales ];
|
||||||
# https://github.com/NixOS/nixpkgs/pull/13098#issuecomment-185914025
|
|
||||||
# https://github.com/untitaker/vdirsyncer/issues/334#issuecomment-185872854
|
LC_ALL = "en_US.utf8";
|
||||||
doCheck = false;
|
|
||||||
|
checkPhase = ''
|
||||||
|
make DETERMINISTIC_TESTS=true test
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/untitaker/vdirsyncer;
|
homepage = https://github.com/untitaker/vdirsyncer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user