git.iko.soy/typeable/nixpkgs
on master help sign in
vdirsyncer: cleanup

See https://github.com/NixOS/nixpkgs/pull/59010

commitb0fa0bf13cdf11c0a4cf0603d7a2cbdab6f6ae55 authorGabriel Ebner <gebner@gebner.org> dateFri 5 Apr 2019, 17:07 (8 years ago) parent298f3d6
1 file changed+3−6
pkgs/tools/misc/vdirsyncer/default.nix+3−6
pkgs/tools/misc/vdirsyncer/default.nix+3−6
@@ -1,4 +1,4 @@
1−{ stdenv, python3Packages, fetchFromGitHub, fetchpatch, glibcLocales, rustPlatform, pkgconfig, openssl, Security }:
1+{ stdenv, python3Packages, fetchFromGitHub, fetchpatch, rustPlatform, pkgconfig, openssl, Security }:
22
33# Packaging documentation at:
44# https://github.com/untitaker/vdirsyncer/blob/master/docs/packaging.rst
@@ -32,9 +32,9 @@ python3Packages.buildPythonApplication rec {
3232 shippai
3333 ];
3434
35− buildInputs = with python3Packages; [ setuptools_scm ];
35+ nativeBuildInputs = with python3Packages; [ setuptools_scm ];
3636
37− checkInputs = with python3Packages; [ hypothesis pytest pytest-localserver pytest-subtesthack ] ++ [ glibcLocales ];
37+ checkInputs = with python3Packages; [ hypothesis pytest pytest-localserver pytest-subtesthack ];
3838
3939 patches = [
4040 # Fixes for hypothesis: https://github.com/pimutils/vdirsyncer/pull/779
@@ -66,8 +66,6 @@ python3Packages.buildPythonApplication rec {
6666 ln -s ${native}/lib/libvdirsyncer_rustext* rust/target/release/
6767 '';
6868
69− LC_ALL = "en_US.utf8";
70−
7169 checkPhase = ''
7270 rm -rf vdirsyncer
7371 export PYTHONPATH=$out/${python3Packages.python.sitePackages}:$PYTHONPATH
@@ -78,7 +76,6 @@ python3Packages.buildPythonApplication rec {
7876 homepage = https://github.com/pimutils/vdirsyncer;
7977 description = "Synchronize calendars and contacts";
8078 maintainers = with maintainers; [ matthiasbeyer ];
81− platforms = platforms.all;
8279 license = licenses.mit;
8380 };
8481}