git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.debian-inspector: 0.9.10 -> 21.5.25
commitc1a8d36bc4747c3284ca2afd451f09d2f81a8fb3 authorFabian Affolter <mail@fabian-affolter.ch> dateWed 30 Jun 2021, 19:47 (5 years ago) parentb163b11
1 file changed+6−11
pkgs/development/python-modules/debian-inspector/default.nix+6−11
pkgs/development/python-modules/debian-inspector/default.nix+6−11
@@ -2,30 +2,25 @@
22, buildPythonPackage
33, fetchPypi
44, pythonAtLeast
5−, fetchpatch
65, chardet
76, attrs
87, commoncode
98, pytestCheckHook
9+, setuptools-scm
1010}:
11+
1112buildPythonPackage rec {
1213 pname = "debian-inspector";
13− version = "0.9.10";
14+ version = "21.5.25";
1415
1516 src = fetchPypi {
1617 pname = "debian_inspector";
1718 inherit version;
18− sha256 = "fd29a02b925a4de0d7bb00c29bb05f19715a304bc10ef7b9ad06a93893dc3a8c";
19+ sha256 = "1d3xaqw00kav85nk29qm2yqb73bkyqf185fs1q0vgd7bnap9wqaw";
1920 };
2021
21− patches = lib.optionals (pythonAtLeast "3.9") [
22− # https://github.com/nexB/debian-inspector/pull/15
23− # fixes tests on Python 3.9
24− (fetchpatch {
25− name = "drop-encoding-argument.patch";
26− url = "https://github.com/nexB/debian-inspector/commit/ff991cdb788671ca9b81f1602b70a439248fd1aa.patch";
27− sha256 = "bm3k7vb9+Rm6+YicQEeDOOUVut8xpDaNavG+t2oLZkI=";
28− })
22+ nativeBuildInputs = [
23+ setuptools-scm
2924 ];
3025
3126 dontConfigure = true;