mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03:00
python3Packages.publicsuffix2: restore original version number (#231610)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
7e0743a5ae
commit
3fedce78b2
@ -1,13 +1,17 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
let
|
||||
tagVersion = "2.2019-12-21";
|
||||
in
|
||||
buildPythonPackage {
|
||||
pname = "publicsuffix2";
|
||||
version = "2.2019-12-21";
|
||||
# tags have dashes, while the library version does not
|
||||
# see https://github.com/nexB/python-publicsuffix2/issues/12
|
||||
version = lib.replaceStrings ["-"] [""] tagVersion;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nexB";
|
||||
repo = "python-publicsuffix2";
|
||||
rev = "release-${version}";
|
||||
rev = "release-${tagVersion}";
|
||||
sha256 = "1dkvfvl0izq9hqzilnw8ipkbgjs9xyad9p21i3864hzinbh0wp9r";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user