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

27 lines
609 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "itemdb";
version = "1.1.2";
format = "setuptools";
# PyPI tarball doesn't include tests directory
src = fetchFromGitHub {
owner = "almarklein";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-s7a+MJLTAcGv2rYRMO2SAlsDYen6Si10qUQOVDFuf6c=";
};
meta = with lib; {
description = "Easy transactional database for Python dicts, backed by SQLite";
license = licenses.bsd2;
homepage = "https://itemdb.readthedocs.io";
maintainers = [ maintainers.matthiasbeyer ];
};
}