mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
pythonPackages.dataclasses: init at 0.5
This commit is contained in:
parent
e821f40c26
commit
2dbde855eb
21
pkgs/development/python-modules/dataclasses/default.nix
Normal file
21
pkgs/development/python-modules/dataclasses/default.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, isPy36 }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "dataclasses";
|
||||
version = "0.5";
|
||||
|
||||
# backport only works on Python 3.6, and is in the standard library in Python 3.7
|
||||
disabled = !isPy36;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "07lgn1k56sqpw7yfzv5a6mwshsgaipjawflgyr6lrkryjl64481z";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An implementation of PEP 557: Data Classes";
|
||||
homepage = "https://github.com/ericvsmith/dataclasses";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ catern ];
|
||||
};
|
||||
}
|
@ -1200,6 +1200,8 @@ in {
|
||||
|
||||
datadog = callPackage ../development/python-modules/datadog {};
|
||||
|
||||
dataclasses = callPackage ../development/python-modules/dataclasses { };
|
||||
|
||||
debian = callPackage ../development/python-modules/debian {};
|
||||
|
||||
defusedxml = callPackage ../development/python-modules/defusedxml {};
|
||||
|
Loading…
Reference in New Issue
Block a user