mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
0215034f25
when they already rely on SRI hashes.
34 lines
711 B
Nix
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 ];
|
|
};
|
|
}
|