pythonPackages.epc: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 14:32:29 -04:00 committed by Frederik Rietdijk
parent 266ebed4a8
commit cb6be049d3
2 changed files with 26 additions and 15 deletions

View file

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, sexpdata
}:
buildPythonPackage rec {
pname = "epc";
version = "0.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "30b594bd4a4acbd5bda0d3fa3d25b4e8117f2ff8f24d2d1e3e36c90374f3c55e";
};
propagatedBuildInputs = [ sexpdata ];
doCheck = false;
meta = with stdenv.lib; {
description = "EPC (RPC stack for Emacs Lisp) implementation in Python";
homepage = "https://github.com/tkf/python-epc";
license = licenses.gpl3;
};
}

View file

@ -2352,21 +2352,7 @@ in {
enum34 = callPackage ../development/python-modules/enum34 { };
epc = buildPythonPackage rec {
name = "epc-0.0.3";
src = pkgs.fetchurl {
url = "mirror://pypi/e/epc/${name}.tar.gz";
sha256 = "30b594bd4a4acbd5bda0d3fa3d25b4e8117f2ff8f24d2d1e3e36c90374f3c55e";
};
propagatedBuildInputs = with self; [ sexpdata ];
doCheck = false;
meta = {
description = "EPC (RPC stack for Emacs Lisp) implementation in Python";
homepage = "https://github.com/tkf/python-epc";
};
};
epc = callPackage ../development/python-modules/epc { };
et_xmlfile = buildPythonPackage rec {
version = "1.0.1";