python3Packages.py3buddy: build with buildPythonPackage

This commit is contained in:
aleksana
2024-06-19 16:15:51 +08:00
parent fd531cc55c
commit 01ef5abcfa
2 changed files with 7 additions and 6 deletions
@@ -1,23 +1,24 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
python,
pyusb,
}:
stdenv.mkDerivation (finalAttrs: {
buildPythonPackage rec {
pname = "py3buddy";
version = "1.0";
pyproject = false; # manually installed
src = fetchFromGitHub {
owner = "armijnhemel";
repo = "py3buddy";
rev = finalAttrs.version;
rev = version;
hash = "sha256-KJ0xGEXHY6o2074WFZ0u7gATS+wrrjyzanYretckWYk=";
};
propagatedBuildInputs = [ pyusb ];
dependencies = [ pyusb ];
dontConfigure = true;
dontBuild = true;
@@ -40,4 +41,4 @@ stdenv.mkDerivation (finalAttrs: {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ prusnak ];
};
})
}
+1 -1
View File
@@ -10640,7 +10640,7 @@ self: super: with self; {
py2bit = callPackage ../development/python-modules/py2bit { };
py3buddy = toPythonModule (callPackage ../development/python-modules/py3buddy { });
py3buddy = callPackage ../development/python-modules/py3buddy { };
py3exiv2 = callPackage ../development/python-modules/py3exiv2 { };