nixpkgs/pkgs/development/python-modules/pickleshare/default.nix
Martin Weinelt 5ee7d17afc python3Packages.path: rename from path.py; 12.0.1 -> 16.4.0
The project had been renamed after 12.5.0 back in 2020, which is why we
didn't receive further updates.

Created an alias and renamed all existing references.
2022-04-15 01:39:54 +02:00

31 lines
601 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, path
, pathlib2
, pythonOlder
}:
buildPythonPackage rec {
version = "0.7.5";
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;
};
}