Created
May 28, 2020 19:23
-
-
Save ilyaGotfryd/f8327ad84905f0a47222463327f92f15 to your computer and use it in GitHub Desktop.
Issue building cryptography in NixOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"cryptography" = python.mkDerivation { | |
name = "cryptography-2.9.2"; | |
src = pkgs.fetchurl { | |
url = "https://files.pythonhosted.org/packages/56/3b/78c6816918fdf2405d62c98e48589112669f36711e50158a0c15d804c30d/cryptography-2.9.2.tar.gz"; | |
sha256 = "a0c30272fb4ddda5f5ffc1089d7405b7a71b0b0f51993cb4e5dbb4590b2fc229"; | |
}; | |
doCheck = commonDoCheck; | |
format = "pyproject"; | |
buildInputs = commonBuildInputs ++ [ | |
self."cffi" | |
self."setuptools" | |
self."wheel" | |
]; | |
propagatedBuildInputs = [ | |
self."cffi" | |
self."six" | |
]; | |
meta = with pkgs.stdenv.lib; { | |
homepage = "https://github.com/pyca/cryptography"; | |
license = licenses.asl20; | |
description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers."; | |
}; | |
}; | |
"setuptools" = python.mkDerivation { | |
name = "setuptools-46.4.0"; | |
src = pkgs.fetchurl { | |
url = "https://files.pythonhosted.org/packages/ac/d6/0f6c0d9d0b07bbb2085e94a71aded1e137c7c9002ac54924bc1c0adf748a/setuptools-46.4.0.zip"; | |
sha256 = "4334fc63121aafb1cc98fd5ae5dd47ea8ad4a38ad638b47af03a686deb14ef5b"; | |
}; | |
doCheck = commonDoCheck; | |
format = "setuptools"; | |
buildInputs = commonBuildInputs ++ [ ]; | |
propagatedBuildInputs = [ ]; | |
meta = with pkgs.stdenv.lib; { | |
homepage = "https://github.com/pypa/setuptools"; | |
license = licenses.mit; | |
description = "Easily download, build, install, upgrade, and uninstall Python packages"; | |
}; | |
}; | |
"wheel" = python.mkDerivation { | |
name = "wheel-0.34.2"; | |
src = pkgs.fetchurl { | |
url = "https://files.pythonhosted.org/packages/75/28/521c6dc7fef23a68368efefdcd682f5b3d1d58c2b90b06dc1d0b805b51ae/wheel-0.34.2.tar.gz"; | |
sha256 = "8788e9155fe14f54164c1b9eb0a319d98ef02c160725587ad60f14ddc57b6f96"; | |
}; | |
doCheck = commonDoCheck; | |
format = "setuptools"; | |
buildInputs = commonBuildInputs ++ [ | |
self."setuptools" | |
]; | |
propagatedBuildInputs = [ ]; | |
meta = with pkgs.stdenv.lib; { | |
homepage = "https://github.com/pypa/wheel"; | |
license = licenses.mit; | |
description = "A built-package format for Python"; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment