nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 757 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 click, 7 colorama, 8}: 9 10buildPythonPackage rec { 11 pname = "shamir-mnemonic"; 12 version = "0.3.0"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "trezor"; 17 repo = "python-${pname}"; 18 tag = "v${version}"; 19 hash = "sha256-KjZbxA92h25ghbItdmPvkSPvDZUSRWkl4vnJDBMN71s="; 20 }; 21 22 build-system = [ poetry-core ]; 23 24 propagatedBuildInputs = [ 25 click 26 colorama 27 ]; 28 29 pythonImportsCheck = [ "shamir_mnemonic" ]; 30 31 meta = { 32 description = "Reference implementation of SLIP-0039"; 33 mainProgram = "shamir"; 34 homepage = "https://github.com/trezor/python-shamir-mnemonic"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ prusnak ]; 37 }; 38}