about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-12-26 09:52:44 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2023-12-26 09:52:44 +0100
commitea3b769d47538b79a7c30d336b95fb9de0cfee5a (patch)
tree2f9b4df7ba2afca2d108398fcf133b699871606a /pkgs
parentf9fcccc40960eaaea221410cdf244692347274b7 (diff)
downloadnixlib-ea3b769d47538b79a7c30d336b95fb9de0cfee5a.tar
nixlib-ea3b769d47538b79a7c30d336b95fb9de0cfee5a.tar.gz
nixlib-ea3b769d47538b79a7c30d336b95fb9de0cfee5a.tar.bz2
nixlib-ea3b769d47538b79a7c30d336b95fb9de0cfee5a.tar.lz
nixlib-ea3b769d47538b79a7c30d336b95fb9de0cfee5a.tar.xz
nixlib-ea3b769d47538b79a7c30d336b95fb9de0cfee5a.tar.zst
nixlib-ea3b769d47538b79a7c30d336b95fb9de0cfee5a.zip
python311Packages.pywerview: refactor
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/python-modules/pywerview/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/pywerview/default.nix b/pkgs/development/python-modules/pywerview/default.nix
index 089cbcb75f49..a7e7976a1019 100644
--- a/pkgs/development/python-modules/pywerview/default.nix
+++ b/pkgs/development/python-modules/pywerview/default.nix
@@ -9,22 +9,27 @@
 , pyasn1
 , pycryptodome
 , pythonOlder
+, setuptools
 }:
 
 buildPythonPackage rec {
   pname = "pywerview";
   version = "0.6";
-  format = "setuptools";
+  pyproject = true;
 
   disabled = pythonOlder "3.7";
 
   src = fetchFromGitHub {
     owner = "the-useless-one";
-    repo = pname;
+    repo ="pywerview";
     rev = "refs/tags/v${version}";
     hash = "sha256-WZE6qWq9v4A78YELMEcbgyufBRrVFRTqlhGmknpKn1Y=";
   };
 
+  nativeBuildInputs = [
+    setuptools
+  ];
+
   propagatedBuildInputs = [
     beautifulsoup4
     gssapi