2021-01-25 00:26:54 -08:00
|
|
|
{ lib
|
2018-10-25 18:27:18 -07:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pathpy
|
|
|
|
, pathlib2
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-11-04 02:35:09 -08:00
|
|
|
version = "0.7.5";
|
2018-10-25 18:27:18 -07:00
|
|
|
pname = "pickleshare";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-04 02:35:09 -08:00
|
|
|
sha256 = "87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca";
|
2018-10-25 18:27:18 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pathpy ]
|
2021-01-23 16:29:22 -08:00
|
|
|
++ lib.optional (pythonOlder "3.4") pathlib2;
|
2018-10-25 18:27:18 -07:00
|
|
|
|
|
|
|
# No proper test suite
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-10 23:54:33 -08:00
|
|
|
meta = with lib; {
|
2018-10-25 18:27:18 -07:00
|
|
|
description = "Tiny 'shelve'-like database with concurrency support";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/vivainio/pickleshare";
|
2018-10-25 18:27:18 -07:00
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|