python311Packages.snaptime: init at 0.2.4
Packaged as a test dependency for maya.
This commit is contained in:
parent
9838276068
commit
aadcf41da0
2 changed files with 38 additions and 0 deletions
36
pkgs/development/python-modules/snaptime/default.nix
Normal file
36
pkgs/development/python-modules/snaptime/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, python-dateutil
|
||||
, pytz
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "snaptime";
|
||||
version = "0.2.4";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-4/HriQQ9WNMHIauYy2UCPxpMJ0DjsZdwQpixY8ktUIs=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python-dateutil
|
||||
pytz
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"snaptime"
|
||||
];
|
||||
|
||||
doCheck = false; # git has tests, but no tags :(
|
||||
|
||||
meta = with lib; {
|
||||
description = "Transform timestamps with a simple DSL";
|
||||
homepage = "https://github.com/zartstrom/snaptime";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
|
@ -12101,6 +12101,8 @@ self: super: with self; {
|
|||
|
||||
snapshottest = callPackage ../development/python-modules/snapshottest { };
|
||||
|
||||
snaptime = callPackage ../development/python-modules/snaptime { };
|
||||
|
||||
sniffio = callPackage ../development/python-modules/sniffio { };
|
||||
|
||||
snitun = callPackage ../development/python-modules/snitun { };
|
||||
|
|
Loading…
Reference in a new issue