nixpkgs/pkgs/development/python-modules/python-editor/default.nix
Frederik Rietdijk ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00

21 lines
497 B
Nix

{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
version = "1.0.3";
pname = "python-editor";
src = fetchPypi {
inherit pname version;
sha256 = "a3c066acee22a1c94f63938341d4fb374e3fdd69366ed6603d7b24bed1efc565";
};
# No proper tests
doCheck = false;
meta = with stdenv.lib; {
description = "A library that provides the `editor` module for programmatically";
homepage = https://github.com/fmoo/python-editor;
license = licenses.asl20;
};
}