pythonPackages: Add version and pname attributes to packages

This commit is contained in:
adisbladis
2017-11-09 19:26:09 +08:00
committed by Frederik Rietdijk
parent 4ae5f31403
commit d99378654f
79 changed files with 240 additions and 137 deletions

View File

@@ -1,7 +1,9 @@
{ lib, buildPythonPackage, fetchurl, isPy3k, contextlib2 }:
buildPythonPackage rec {
name = "raven-6.3.0";
pname = "raven";
version = "6.3.0";
name = pname + "-" + version;
src = fetchurl {
url = "mirror://pypi/r/raven/${name}.tar.gz";