pythonPackages.libnacl: 1.5.2 -> 1.6.0, fix new libsodum

This commit is contained in:
Franz Pletz 2017-10-15 16:04:08 +02:00
parent 28b0dfac1e
commit 1be825f1e5
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -1,13 +1,15 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest, libsodium }:
{ stdenv, buildPythonPackage, fetchFromGitHub, pytest, libsodium }:
buildPythonPackage rec {
pname = "libnacl";
version = "1.5.2";
version = "1.6.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "c58390b0d191db948fc9ab681f07fdfce2a573cd012356bada47d56795d00ee2";
src = fetchFromGitHub {
owner = "saltstack";
repo = pname;
rev = "v${version}";
sha256 = "0iaql3mrj3hf48km8177bi6nmjdar26kmqjc3jw8mrjc940v99fk";
};
buildInputs = [ pytest ];