summary refs log tree commit diff
path: root/pkgs/development/python-modules/webencodings
diff options
context:
space:
mode:
authoradisbladis <adis@blad.is>2017-11-09 19:26:09 +0800
committerFrederik Rietdijk <fridh@fridh.nl>2017-11-23 17:49:43 +0100
commitd99378654f97e7f62393514b36886c0b14d04e99 (patch)
tree49929a7437e9e7aaaa663e5511a5010881eef540 /pkgs/development/python-modules/webencodings
parent4ae5f314037867369c2b0e38a7587d2db393268f (diff)
downloadnixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar
nixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar.gz
nixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar.bz2
nixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar.lz
nixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar.xz
nixlib-d99378654f97e7f62393514b36886c0b14d04e99.tar.zst
nixlib-d99378654f97e7f62393514b36886c0b14d04e99.zip
pythonPackages: Add version and pname attributes to packages
Diffstat (limited to 'pkgs/development/python-modules/webencodings')
-rw-r--r--pkgs/development/python-modules/webencodings/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/webencodings/default.nix b/pkgs/development/python-modules/webencodings/default.nix
index 834a0ab07fbf..edd0a364ea14 100644
--- a/pkgs/development/python-modules/webencodings/default.nix
+++ b/pkgs/development/python-modules/webencodings/default.nix
@@ -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;
   };
-}
\ No newline at end of file
+}