If a Python package does not come with either `format` or `pyproject` we consider it a setuptools build, that calls `setup.py` directly, which is deprecated. This change, as a first step, migrates a large chunk of these packages to set setuptools as their explicit format This is so we can unify the problem space for the next step of the migration.
27 lines
519 B
Nix
27 lines
519 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
pycrypto,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-potr";
|
|
version = "1.0.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "f95b9a7feaf8e3a6aaa898609f8a2ada55518cf52fc09152775c4c59c99b8ea6";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pycrypto ];
|
|
|
|
meta = with lib; {
|
|
description = "Pure Python OTR implementation";
|
|
homepage = "http://python-otr.pentabarf.de/";
|
|
license = licenses.lgpl3Plus;
|
|
maintainers = [ ];
|
|
};
|
|
}
|