summary refs log tree commit diff
path: root/pkgs/development/python-modules/johnnycanencrypt/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/johnnycanencrypt/default.nix')
-rw-r--r--pkgs/development/python-modules/johnnycanencrypt/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/johnnycanencrypt/default.nix b/pkgs/development/python-modules/johnnycanencrypt/default.nix
index 407bb44d8b2d0..f0ee4a6bd99c4 100644
--- a/pkgs/development/python-modules/johnnycanencrypt/default.nix
+++ b/pkgs/development/python-modules/johnnycanencrypt/default.nix
@@ -1,4 +1,5 @@
-{ stdenv
+{ lib
+, stdenv
 , rustPlatform
 , fetchFromGitHub
 , pipInstallHook
@@ -49,7 +50,7 @@ rustPlatform.buildRustPackage rec {
   buildInputs = [
     pcsclite
     nettle
-  ] ++ stdenv.lib.optionals stdenv.isDarwin [ PCSC ];
+  ] ++ lib.optionals stdenv.isDarwin [ PCSC ];
 
   # Needed b/c need to check AFTER python wheel is installed (using Rust Build, not buildPythonPackage)
   doCheck = false;
@@ -83,7 +84,7 @@ rustPlatform.buildRustPackage rec {
 
   pythonImportsCheck = [ "johnnycanencrypt" ];
 
-  meta = with stdenv.lib; {
+  meta = with lib; {
     homepage = "https://github.com/kushaldas/johnnycanencrypt";
     description = "Python module for OpenPGP written in Rust";
     license = licenses.gpl3Plus;