2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2018-10-26 18:26:07 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, isPy3k
|
|
|
|
, PyICU
|
|
|
|
, python
|
|
|
|
}:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
buildPythonPackage {
|
2020-03-29 11:34:50 +01:00
|
|
|
pname = "slob";
|
|
|
|
version = "unstable-2016-11-03";
|
2018-10-26 18:26:07 +01:00
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "itkach";
|
|
|
|
repo = "slob";
|
|
|
|
rev = "d1ed71e4778729ecdfc2fe27ed783689a220a6cd";
|
|
|
|
sha256 = "1r510s4r124s121wwdm9qgap6zivlqqxrhxljz8nx0kv0cdyypi5";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ PyICU ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
${python.interpreter} -m unittest slob
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/itkach/slob/";
|
2018-10-26 18:26:07 +01:00
|
|
|
description = "Reference implementation of the slob (sorted list of blobs) format";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.rycee ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|