mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
pythonPackages.turnt: init at 1.8.0
This commit is contained in:
parent
945422ec1a
commit
c379e08513
34
pkgs/development/python-modules/turnt/default.nix
Normal file
34
pkgs/development/python-modules/turnt/default.nix
Normal file
@ -0,0 +1,34 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, click, tomli }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "turnt";
|
||||
version = "1.8.0";
|
||||
format = "flit";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c6cfcb68a3353032c4ce6fff352196e723d05f9cee23eaf4f36d4dcfd89b8e49";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
tomli
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
$out/bin/turnt test/*/*.t
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "turnt" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Snapshot testing tool";
|
||||
homepage = "https://github.com/cucapra/turnt";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ leungbk ];
|
||||
};
|
||||
}
|
@ -10938,6 +10938,8 @@ in {
|
||||
inherit (pkgs.libsForQt5) wrapQtAppsHook;
|
||||
};
|
||||
|
||||
turnt = callPackage ../development/python-modules/turnt { };
|
||||
|
||||
tuya-iot-py-sdk = callPackage ../development/python-modules/tuya-iot-py-sdk { };
|
||||
|
||||
tuyaha = callPackage ../development/python-modules/tuyaha { };
|
||||
|
Loading…
Reference in New Issue
Block a user