about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pickleshare/default.nix
blob: d6be608aaa2bb813bf870159158c2fbcba8922b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, buildPythonPackage
, fetchPypi
, path
, pathlib2
, pythonOlder
}:

buildPythonPackage rec {
  version = "0.7.5";
  format = "setuptools";
  pname = "pickleshare";

  src = fetchPypi {
    inherit pname version;
    sha256 = "87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca";
  };

  propagatedBuildInputs = [ path ]
    ++ lib.optional (pythonOlder "3.4") pathlib2;

  # No proper test suite
  doCheck = false;

  meta = with lib; {
    description = "Tiny 'shelve'-like database with concurrency support";
    homepage = "https://github.com/vivainio/pickleshare";
    license = licenses.mit;
  };

}