pythonPackages: Add version and pname attributes to packages
This commit is contained in:
committed by
Frederik Rietdijk
parent
4ae5f31403
commit
d99378654f
@@ -3,8 +3,9 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "pyocr-${version}";
|
||||
pname = "pyocr";
|
||||
version = "0.4.7";
|
||||
name = pname + "-" + version;
|
||||
|
||||
# Don't fetch from PYPI because it doesn't contain tests.
|
||||
src = fetchFromGitHub {
|
||||
|
||||
Reference in New Issue
Block a user