depot/third_party/nixpkgs/pkgs/development/python-modules/pickleshare/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
622 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pathpy
, pathlib2
, pythonOlder
}:
buildPythonPackage rec {
version = "0.7.5";
pname = "pickleshare";
src = fetchPypi {
inherit pname version;
sha256 = "87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca";
};
propagatedBuildInputs = [ pathpy ]
++ stdenv.lib.optional (pythonOlder "3.4") pathlib2;
# No proper test suite
doCheck = false;
meta = with stdenv.lib; {
description = "Tiny 'shelve'-like database with concurrency support";
homepage = "https://github.com/vivainio/pickleshare";
license = licenses.mit;
};
}