nixpkgs/pkgs/development/python-modules/survey/default.nix

33 lines
632 B
Nix
Raw Normal View History

{ lib
2020-12-08 15:42:07 +00:00
, buildPythonPackage
2021-04-24 08:55:46 +01:00
, pythonOlder
2020-12-08 15:42:07 +00:00
, fetchPypi
, wrapio
}:
buildPythonPackage rec {
pname = "survey";
2021-04-24 08:55:46 +01:00
version = "3.4.3";
disabled = pythonOlder "3.5";
2020-12-08 15:42:07 +00:00
src = fetchPypi {
inherit pname version;
2021-04-24 08:55:46 +01:00
sha256 = "sha256-TK89quY3bpNIEz1n3Ecew4FnTH6QgeSLdDNV86gq7+I=";
2020-12-08 15:42:07 +00:00
};
propagatedBuildInputs = [
wrapio
];
doCheck = false;
pythonImportsCheck = [ "survey" ];
meta = with lib; {
2020-12-08 15:42:07 +00:00
homepage = "https://github.com/Exahilosys/survey";
description = "A simple library for creating beautiful interactive prompts";
license = licenses.mit;
maintainers = with maintainers; [ sfrijters ];
};
}