git.iko.soy/typeable/nixpkgs
on master help sign in
python.precis-i18n: 1.0.0 -> 1.0.2

1.0.0 is 3 years old and fails to build against python 3.9. Fetch from github rather than pypi; the pypi release lacks supporting files that are required to run the test suite.

commit052a6c1becab6d379c086d8634e929f0bc538f8b authorMira Ressel <aranea@aixah.de> dateThu 11 Feb 2021, 15:44 (6 years ago) parenta58a0b5
1 file changed+7−6
pkgs/development/python-modules/precis-i18n/default.nix+7−6
pkgs/development/python-modules/precis-i18n/default.nix+7−6
@@ -1,15 +1,16 @@
1−{ lib, buildPythonPackage, fetchPypi, isPy3k }:
1+{ lib, buildPythonPackage, fetchFromGitHub, isPy3k }:
22
33buildPythonPackage rec {
44 pname = "precis-i18n";
5− version = "1.0.0";
5+ version = "1.0.2";
66
77 disabled = !isPy3k;
88
9− src = fetchPypi {
10− pname = "precis_i18n";
11− inherit version;
12− sha256 = "0gjhvwd8aifx94rl1ag08vlmndyx2q3fkyqb0c4i46x3p2bc2yi2";
9+ src = fetchFromGitHub {
10+ owner = "byllyfish";
11+ repo = "precis_i18n";
12+ rev = "v${version}";
13+ hash = "sha256:1r9pah1kgik6valf15ac7ybw0szr92cq84kwjvm6mq3z46j1pmkr";
1314 };
1415
1516 meta = {