forked from mirrors/nixpkgs
23 lines
517 B
Nix
23 lines
517 B
Nix
{ lib, fetchPypi, buildPythonPackage, isPy3k, defusedxml }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "PyAMF";
|
|
version = "0.8.0";
|
|
|
|
# according to setup.py
|
|
disabled = isPy3k;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1r3lp9gkph48g9lijby5rs5daa3lhxs204r14zw4kvp3hf4xcm84";
|
|
};
|
|
|
|
propagatedBuildInputs = [ defusedxml ];
|
|
|
|
meta = with lib; {
|
|
description = "AMF (Action Message Format) support for Python";
|
|
homepage = "https://pypi.python.org/pypi/PyAMF";
|
|
license = licenses.mit;
|
|
};
|
|
}
|