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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
605 B
Nix
Raw Normal View History

2021-10-29 20:05:43 +00:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, typing-extensions
}:
buildPythonPackage rec {
pname = "duet";
2022-07-03 11:27:10 +00:00
version = "0.2.7";
2021-10-29 20:05:43 +00:00
src = fetchFromGitHub {
owner = "google";
repo = "duet";
rev = "v${version}";
2022-07-03 11:27:10 +00:00
sha256 = "sha256-9CTAupAxZI1twoLpgr7VfECw70QunE6pk+SskiT3JDw=";
2021-10-29 20:05:43 +00:00
};
propagatedBuildInputs = [ typing-extensions ];
checkInputs = [ pytestCheckHook ];
meta = with lib; {
description = "A simple future-based async library for python";
homepage = "https://github.com/google/duet";
maintainers = with maintainers; [ drewrisinger ];
};
}