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`.
This commit is contained in:
@@ -6,12 +6,9 @@
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
let
|
||||
buildPythonPackage rec{
|
||||
pname = "yenc";
|
||||
version = "0.4.0";
|
||||
in buildPythonPackage {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://bitbucket.org/dual75/yenc/get/${version}.tar.gz";
|
||||
sha256 = "0zkyzxgq30mbrzpnqam4md0cb09d5falh06m0npc81nnlhcghkp7";
|
||||
|
||||
Reference in New Issue
Block a user