ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / slob / default.nix
blob72af69e3e7c2ab550032c1a2b502c874dcd02712
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , isPy3k
5 , PyICU
6 , python
7 }:
9 buildPythonPackage {
10   pname = "slob";
11   version = "unstable-2020-06-26";
12   disabled = !isPy3k;
14   src = fetchFromGitHub {
15     owner = "itkach";
16     repo = "slob";
17     rev = "018588b59999c5c0eb42d6517fdb84036f3880cb";
18     sha256 = "01195hphjnlcvgykw143rf06s6y955sjc1r825a58vhjx7hj54zh";
19   };
21   propagatedBuildInputs = [ PyICU ];
23   checkPhase = ''
24     ${python.interpreter} -m unittest slob
25   '';
27   pythonImportsCheck = [ "slob" ];
29   meta = with lib; {
30     homepage = "https://github.com/itkach/slob/";
31     description = "Reference implementation of the slob (sorted list of blobs) format";
32     license = licenses.gpl3Only;
33   };