nixpkgs/pkgs/development/python-modules/pickleshare/default.nix

31 lines
620 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, pathpy
, pathlib2
, pythonOlder
}:
buildPythonPackage rec {
2018-11-04 10:35:09 +00:00
version = "0.7.5";
pname = "pickleshare";
src = fetchPypi {
inherit pname version;
2018-11-04 10:35:09 +00:00
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;
};
}