Files
nixpkgs/pkgs/development/python-modules/pdunehd/default.nix
T
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

39 lines
839 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, requests
}:
buildPythonPackage rec {
pname = "pdunehd";
version = "1.3.3";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "valentinalexeev";
repo = "pdunehd";
rev = "refs/tags/${version}";
sha256 = "sha256-8CL7ZQ+tV0CKdqWWiPDbo6Q5d1iIj/vNbYshdjUpYSw=";
};
propagatedBuildInputs = [
requests
];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "pdunehd" ];
meta = with lib; {
description = "Python wrapper for Dune HD media player API";
homepage = "https://github.com/valentinalexeev/pdunehd";
changelog = "https://github.com/valentinalexeev/pdunehd/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ dotlambda ];
};
}