pythonPackages: Add version and pname attributes to packages
This commit is contained in:
committed by
Frederik Rietdijk
parent
4ae5f31403
commit
d99378654f
@@ -4,10 +4,9 @@
|
||||
, pytest
|
||||
}:
|
||||
|
||||
let
|
||||
buildPythonPackage rec {
|
||||
pname = "webencodings";
|
||||
version = "0.5.1";
|
||||
in buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
@@ -26,4 +25,4 @@ in buildPythonPackage rec {
|
||||
homepage = https://github.com/SimonSapin/python-webencodings;
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user