Merge pull request #225804 from 0x4A6F/master-johnnycanencrypt

python310Packages.johnnycanencrypt: 0.12.0 -> 0.13.1
This commit is contained in:
Nick Cao 2023-04-14 09:47:29 +08:00 committed by GitHub
commit 2657fbd90d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{ lib
, stdenv
, fetchPypi
, fetchFromGitHub
, buildPythonPackage
, rustPlatform
, llvmPackages
@ -17,18 +17,20 @@
buildPythonPackage rec {
pname = "johnnycanencrypt";
version = "0.12.0";
version = "0.13.1";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-aGhM/uyYE7l0h6L00qp+HRUVaj7s/tnHWIHJpLAkmR4=";
src = fetchFromGitHub {
owner = "kushaldas";
repo = "johnnycanencrypt";
rev = "v${version}";
hash = "sha256-1zHdV0QNYgeJIMaSljIMtqjpkwih2+s8jAaQnCumdgw=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-fcwDxkUFtA6LS77xdLktNnZJXmyl/ZzArvIW69SPpmI=";
hash = "sha256-nsVC2plY2yXjOZBvM4GYNQJqHR+ZWxfiDjPcTCoe6+0=";
};
format = "pyproject";