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:
@@ -1,9 +1,11 @@
|
||||
{ lib, buildPythonPackage, fetchurl, pkgconfig, gtk2, libX11, libXtst, libXi, libxkbfile, xextproto, xproto }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "virtkey-${version}";
|
||||
let
|
||||
majorVersion = "0.63";
|
||||
version = "${majorVersion}.0";
|
||||
minorVersion = "0";
|
||||
in buildPythonPackage rec {
|
||||
pname = "virtkey";
|
||||
version = "${majorVersion}.${minorVersion}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://launchpad.net/virtkey/${majorVersion}/${version}/+download/virtkey-${version}.tar.gz";
|
||||
|
||||
Reference in New Issue
Block a user