blob: 083ea6d6347be3f2b8a214ea86284d33a23fc4d2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 ];
};
}
|