summary refs log tree commit diff
path: root/pkgs/development/coq-modules/mathcomp-tarjan
diff options
context:
space:
mode:
authorShawn8901 <shawn8901@googlemail.com>2023-01-21 23:19:48 +0100
committerShawn8901 <shawn8901@googlemail.com>2023-01-21 23:19:48 +0100
commit4dcb03a5c32a90dbef83094183ef52e0580dfd22 (patch)
tree8fccecb83f2638fef7a880d75a21b714a3742b8c /pkgs/development/coq-modules/mathcomp-tarjan
parent11da253ac9d248a2daa5a4a9b5c630bb0603cab3 (diff)
downloadnixpkgs-4dcb03a5c32a90dbef83094183ef52e0580dfd22.tar
nixpkgs-4dcb03a5c32a90dbef83094183ef52e0580dfd22.tar.gz
nixpkgs-4dcb03a5c32a90dbef83094183ef52e0580dfd22.tar.bz2
nixpkgs-4dcb03a5c32a90dbef83094183ef52e0580dfd22.tar.lz
nixpkgs-4dcb03a5c32a90dbef83094183ef52e0580dfd22.tar.xz
nixpkgs-4dcb03a5c32a90dbef83094183ef52e0580dfd22.tar.zst
nixpkgs-4dcb03a5c32a90dbef83094183ef52e0580dfd22.zip
treewide: remove global with lib; statements in pkgs/coq-modules
Diffstat (limited to 'pkgs/development/coq-modules/mathcomp-tarjan')
-rw-r--r--pkgs/development/coq-modules/mathcomp-tarjan/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/coq-modules/mathcomp-tarjan/default.nix b/pkgs/development/coq-modules/mathcomp-tarjan/default.nix
index 706ee068692..19ecfcc384d 100644
--- a/pkgs/development/coq-modules/mathcomp-tarjan/default.nix
+++ b/pkgs/development/coq-modules/mathcomp-tarjan/default.nix
@@ -1,14 +1,15 @@
 { coq, mkCoqDerivation, mathcomp-ssreflect, mathcomp-fingroup,
   lib, version ? null }@args:
-with lib; mkCoqDerivation {
+
+mkCoqDerivation {
 
   namePrefix = [ "coq" "mathcomp" ];
   pname = "tarjan";
   owner = "math-comp";
 
   inherit version;
-  defaultVersion = with versions;
-    switch [ coq.version mathcomp-ssreflect.version ] [{
+  defaultVersion = with lib.versions;
+    lib.switch [ coq.version mathcomp-ssreflect.version ] [{
       cases = [ (range "8.10" "8.16") (isGe "1.12.0") ]; out = "1.0.0";
   }] null;
   release."1.0.0".sha256 = "sha256:0r459r0makshzwlygw6kd4lpvdjc43b3x5y9aa8x77f2z5gymjq1";
@@ -17,6 +18,6 @@ with lib; mkCoqDerivation {
 
   meta = {
     description = "Proofs of Tarjan and Kosaraju connected components algorithms";
-    license = licenses.cecill-b;
+    license = lib.licenses.cecill-b;
   };
 }