python.pkgs.python-editor : move to separate expression
This commit is contained in:
parent
ff6797e8aa
commit
84c3055620
17
pkgs/development/python-modules/python-editor/default.nix
Normal file
17
pkgs/development/python-modules/python-editor/default.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
version = "0.4";
|
||||
pname = "python-editor";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1gykxn16anmsbcrwhx3rrhwjif95mmwvq9gjcrr9bbzkdc8sf8a4";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A library that provides the `editor` module for programmatically";
|
||||
homepage = "https://github.com/fmoo/python-editor";
|
||||
};
|
||||
}
|
@ -319,20 +319,7 @@ in {
|
||||
|
||||
asgi_redis = callPackage ../development/python-modules/asgi_redis { };
|
||||
|
||||
python-editor = buildPythonPackage rec {
|
||||
name = "python-editor-${version}";
|
||||
version = "0.4";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/p/python-editor/${name}.tar.gz";
|
||||
sha256 = "1gykxn16anmsbcrwhx3rrhwjif95mmwvq9gjcrr9bbzkdc8sf8a4";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "`python-editor` is a library that provides the `editor` module for programmatically";
|
||||
homepage = "https://github.com/fmoo/python-editor";
|
||||
};
|
||||
};
|
||||
python-editor = callPackage ../development/python-modules/python-editor { };
|
||||
|
||||
python-gnupg = callPackage ../development/python-modules/python-gnupg {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user