Skip to content

Commit

Permalink
python312Packages.senf: 1.5.0 -> 1.5.0-unstable-2024-11-26
Browse files Browse the repository at this point in the history
  • Loading branch information
Bot-wxt1221 committed Dec 21, 2024
1 parent dba9da8 commit 965c7b0
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions pkgs/development/python-modules/senf/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
{
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
lib,
hypothesis,
pytestCheckHook,
unstableGitUpdater,
}:

buildPythonPackage rec {
pname = "senf";
version = "1.5.0";
version = "1.5.0-unstable-2024-11-26";

src = fetchPypi {
inherit pname version;
hash = "sha256-kFlFEOqYVBM47YWmwUOPuiCqoqSW+I3y0tNlSFZjjNE=";
src = fetchFromGitHub {
owner = "quodlibet";
repo = "senf";
rev = "b32bb8091f7b46679a23b3f9e9a9157eaa53be95";
hash = "sha256-JoFmQkjau8e8EXiJbWS7vnv1FarwerO4vGInosxlNEM=";
};

nativeCheckInputs = [
Expand All @@ -25,13 +29,17 @@ buildPythonPackage rec {
"test_expanduser_user"
];

passthru.updateScript = unstableGitUpdater {
tagPrefix = "v";
};

pythonImportsCheck = [ "senf" ];

meta = with lib; {
meta = {
description = "Consistent filename handling for all Python versions and platforms";
homepage = "https://senf.readthedocs.io/en/latest/";
license = licenses.mit;
maintainers = with maintainers; [ cab404 ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ cab404 ];
};

}

0 comments on commit 965c7b0

Please sign in to comment.