pythonPackages: Add version and pname attributes to packages
This commit is contained in:
committed by
Frederik Rietdijk
parent
4ae5f31403
commit
d99378654f
@@ -1,7 +1,9 @@
|
||||
{ stdenv, buildPythonPackage, fetchurl, pytest }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "hyperlink-${version}";
|
||||
pname = "hyperlink";
|
||||
version = "17.3.0";
|
||||
name = pname + "-" + version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/h/hyperlink/${name}.tar.gz";
|
||||
|
||||
Reference in New Issue
Block a user