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