about summary refs log tree commit diff
path: root/pkgs/top-level
diff options
context:
space:
mode:
authorJosef Kemetmüller <josef.kemetmueller@gmail.com>2019-03-05 07:46:49 +0100
committerworldofpeace <worldofpeace@protonmail.ch>2019-06-01 11:39:25 -0400
commita0b7a7913c422a791996532b1a72aa5ddb0c3536 (patch)
treee4354fa3b1142ba04cee1bdaa9ad723e1807f438 /pkgs/top-level
parentb50c2a82aaeaa73cc3866e724c6cce68e2b47875 (diff)
gcovr: Add alias to pythonPackages.gcovr
Since gcovr is most likely to be used as a script instead of a library,
we provide an alias to python3Packages.gcovr. We still keep
python2/3Packages.gcovr in case somebody really wants to import it as a
library, which can not entirely be ruled out.

(cherry picked from commit f10b0c6f8ca8e57a28e76ee86ec0252c7202f66d)
Diffstat (limited to 'pkgs/top-level')
-rw-r--r--pkgs/top-level/all-packages.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 6d9284ef04807..3cdeb7b6a3f6e 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -9975,6 +9975,8 @@ in
 
   gcab = callPackage ../development/libraries/gcab { };
 
+  gcovr = with python3Packages; toPythonApplication gcovr;
+
   gcr = callPackage ../development/libraries/gcr { };
 
   gdl = callPackage ../development/libraries/gdl { };