nixpkgs/pkgs/development/python-modules/survey/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

34 lines
711 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, wrapio
}:
buildPythonPackage rec {
pname = "survey";
version = "3.4.3";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
hash = "sha256-TK89quY3bpNIEz1n3Ecew4FnTH6QgeSLdDNV86gq7+I=";
};
propagatedBuildInputs = [
wrapio
];
doCheck = false;
pythonImportsCheck = [ "survey" ];
meta = with lib; {
description = "A simple library for creating beautiful interactive prompts";
homepage = "https://github.com/Exahilosys/survey";
changelog = "https://github.com/Exahilosys/survey/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ sfrijters ];
};
}