depot/third_party/nixpkgs/pkgs/development/python-modules/flatdict/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

27 lines
591 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "flatdict";
version = "4.0.0";
src = fetchFromGitHub {
owner = "gmr";
repo = pname;
rev = version;
hash = "sha256-qH4MMDSXf92BPavnRdCka6lRoWZg+2KnHpHA8kt5JaM=";
};
pythonImportsCheck = [
"flatdict"
];
meta = with lib; {
description = "Python module for interacting with nested dicts as a single level dict with delimited keys";
homepage = "https://github.com/gmr/flatdict";
license = licenses.bsd3;
maintainers = with maintainers; [ lovesegfault ];
};
}