Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / itemdb / default.nix
blob68fb6d5dc5542fc7fe9ed69e544515aca8a9a967
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 }:
6 buildPythonPackage rec {
7   pname = "itemdb";
8   version = "1.1.2";
10   # PyPI tarball doesn't include tests directory
11   src = fetchFromGitHub {
12     owner = "almarklein";
13     repo = pname;
14     rev = "refs/tags/v${version}";
15     sha256 = "sha256-s7a+MJLTAcGv2rYRMO2SAlsDYen6Si10qUQOVDFuf6c=";
16   };
18   meta = with lib; {
19     description = "Easy transactional database for Python dicts, backed by SQLite";
20     license = licenses.bsd2;
21     homepage = "https://itemdb.readthedocs.io";
22     maintainers = [ maintainers.matthiasbeyer ];
23   };