depot/third_party/nixpkgs/pkgs/development/python-modules/pickleshare/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

31 lines
626 B
Nix

{ 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;
};
}