Skip to content
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

Commit 5ae7f56

Browse files
authored
Merge pull request #354 from seppeljordan/update-dependencies
Update dependencies
2 parents 0daf17e + 75dc360 commit 5ae7f56

File tree

3 files changed

+18
-19
lines changed

3 files changed

+18
-19
lines changed

requirements.nix

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ let
175175
propagatedBuildInputs = [ ];
176176
meta = with pkgs.stdenv.lib; {
177177
homepage = "https://github.com/chardet/chardet";
178-
license = licenses.lgpl3;
178+
license = licenses.lgpl2;
179179
description = "Universal encoding detector for Python 2 and 3";
180180
};
181181
};
@@ -223,7 +223,7 @@ let
223223
propagatedBuildInputs = [ ];
224224
meta = with pkgs.stdenv.lib; {
225225
homepage = "http://docutils.sourceforge.net/";
226-
license = "public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt)";
226+
license = licenses.publicDomain;
227227
description = "Docutils -- Python Documentation Utilities";
228228
};
229229
};
@@ -260,7 +260,7 @@ let
260260
propagatedBuildInputs = [ ];
261261
meta = with pkgs.stdenv.lib; {
262262
homepage = "https://github.com/takluyver/entrypoints";
263-
license = "UNKNOWN";
263+
license = licenses.mit;
264264
description = "Discover and load entry points from installed packages.";
265265
};
266266
};
@@ -359,7 +359,7 @@ let
359359
];
360360
meta = with pkgs.stdenv.lib; {
361361
homepage = "https://github.com/takluyver/flit";
362-
license = "UNKNOWN";
362+
license = licenses.bsdOriginal;
363363
description = "A simple packaging tool for simple packages.";
364364
};
365365
};
@@ -397,7 +397,7 @@ let
397397
];
398398
meta = with pkgs.stdenv.lib; {
399399
homepage = "http://importlib-metadata.readthedocs.io/";
400-
license = "Apache Software License";
400+
license = licenses.asl20;
401401
description = "Read metadata from Python packages";
402402
};
403403
};
@@ -415,7 +415,7 @@ let
415415
];
416416
meta = with pkgs.stdenv.lib; {
417417
homepage = "https://github.com/takluyver/intreehooks";
418-
license = "UNKNOWN";
418+
license = licenses.mit;
419419
description = "Load a PEP 517 backend from inside the source tree";
420420
};
421421
};
@@ -449,7 +449,7 @@ let
449449
];
450450
meta = with pkgs.stdenv.lib; {
451451
homepage = "https://palletsprojects.com/p/jinja/";
452-
license = licenses.bsd3;
452+
license = licenses.bsdOriginal;
453453
description = "A very fast and expressive template engine.";
454454
};
455455
};
@@ -465,7 +465,7 @@ let
465465
propagatedBuildInputs = [ ];
466466
meta = with pkgs.stdenv.lib; {
467467
homepage = "https://palletsprojects.com/p/markupsafe/";
468-
license = licenses.bsd3;
468+
license = licenses.bsdOriginal;
469469
description = "Safely add untrusted strings to HTML/XML markup.";
470470
};
471471
};
@@ -573,7 +573,7 @@ let
573573
];
574574
meta = with pkgs.stdenv.lib; {
575575
homepage = "https://github.com/pypa/packaging";
576-
license = licenses.bsdOriginal;
576+
license = licenses.asl20;
577577
description = "Core utilities for Python packages";
578578
};
579579
};
@@ -717,10 +717,10 @@ let
717717
};
718718

719719
"pytest" = python.mkDerivation {
720-
name = "pytest-5.2.1";
720+
name = "pytest-5.2.2";
721721
src = pkgs.fetchurl {
722-
url = "https://files.pythonhosted.org/packages/3a/3b/f839b8431582e0f4e5f98230300db70b795f467503b2cdb0bf7eb9b18351/pytest-5.2.1.tar.gz";
723-
sha256 = "ca563435f4941d0cb34767301c27bc65c510cb82e90b9ecf9cb52dc2c63caaa0";
722+
url = "https://files.pythonhosted.org/packages/24/67/051f7622814613980a03c9722233a4d7f8b0e21787a46b41a1057c903992/pytest-5.2.2.tar.gz";
723+
sha256 = "27abc3fef618a01bebb1f0d6d303d2816a99aa87a5968ebc32fe971be91eb1e6";
724724
};
725725
doCheck = commonDoCheck;
726726
buildInputs = commonBuildInputs ++ [
@@ -759,7 +759,7 @@ let
759759
];
760760
meta = with pkgs.stdenv.lib; {
761761
homepage = "https://github.com/pytest-dev/pytest-cov";
762-
license = licenses.mit;
762+
license = licenses.bsdOriginal;
763763
description = "Pytest plugin for measuring coverage.";
764764
};
765765
};
@@ -779,7 +779,7 @@ let
779779
propagatedBuildInputs = [ ];
780780
meta = with pkgs.stdenv.lib; {
781781
homepage = "https://github.com/pytest-dev/pytest-runner/";
782-
license = "UNKNOWN";
782+
license = licenses.mit;
783783
description = "Invoke py.test as distutils command with dependency resolution";
784784
};
785785
};
@@ -832,7 +832,7 @@ let
832832
propagatedBuildInputs = [ ];
833833
meta = with pkgs.stdenv.lib; {
834834
homepage = "https://github.com/pypa/setuptools";
835-
license = "UNKNOWN";
835+
license = licenses.mit;
836836
description = "Easily download, build, install, upgrade, and uninstall Python packages";
837837
};
838838
};
@@ -912,7 +912,7 @@ let
912912
propagatedBuildInputs = [ ];
913913
meta = with pkgs.stdenv.lib; {
914914
homepage = "https://github.com/python/typing/blob/master/typing_extensions/README.rst";
915-
license = "PSF";
915+
license = licenses.psfl;
916916
description = "Backported and Experimental Type Hints for Python 3.5+";
917917
};
918918
};
@@ -998,7 +998,7 @@ let
998998
];
999999
meta = with pkgs.stdenv.lib; {
10001000
homepage = "https://github.com/jaraco/zipp";
1001-
license = "UNKNOWN";
1001+
license = licenses.mit;
10021002
description = "Backport of pathlib-compatible object wrapper for zip files";
10031003
};
10041004
};

requirements_frozen.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pycodestyle==2.5.0
3434
pyflakes==2.1.1
3535
Pygments==2.4.2
3636
pyparsing==2.4.2
37-
pytest==5.2.1
37+
pytest==5.2.2
3838
pytest-cov==2.8.1
3939
pytest-runner==5.1
4040
pytoml==0.1.21

src/pypi2nix/wheel.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ def from_wheel_directory_path(
8383
metadata_file, "r", encoding="ascii", errors="surrogateescape"
8484
) as headers:
8585
metadata = email.parser.Parser().parse(headers)
86-
print(metadata)
8786
license_string = str_from_message(metadata, "license")
8887
if license_string is None:
8988
license_string = ""

0 commit comments

Comments
 (0)