1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

python3Packages.dacite: init at 1.6.0

This commit is contained in:
Fabian Affolter 2021-06-24 10:03:10 +02:00 committed by Martin Weinelt
parent a6416a9b11
commit 231a108d5e
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "dacite";
version = "1.6.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "konradhalas";
repo = pname;
rev = "v${version}";
sha256 = "0nv2bnj3bq2v08ac4p583cnpjq2d6bv5isycgji5i5wg1y082a3d";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "dacite" ];
meta = with lib; {
description = "Python helper to create data classes from dictionaries";
homepage = "https://github.com/konradhalas/dacite";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -1770,6 +1770,8 @@ in {
d2to1 = callPackage ../development/python-modules/d2to1 { };
dacite = callPackage ../development/python-modules/dacite { };
daemonize = callPackage ../development/python-modules/daemonize { };
daemonocle = callPackage ../development/python-modules/daemonocle { };