mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-23 02:36:05 +01:00
python packages: built from git
This commit is contained in:
parent
c21bfb996d
commit
84e65eb408
@ -8,23 +8,22 @@ let
|
||||
(
|
||||
buildPythonPackage rec {
|
||||
pname = "de.p1st.monitor";
|
||||
version = "0.12.1"; # TOODO 0.12.2
|
||||
# Important: When updating the version number, adjust the Git revision below accordingly!
|
||||
version = "0.13.0";
|
||||
# https://nixos.wiki/wiki/Packaging/Python#Fix_Missing_setup.py
|
||||
format = "pyproject";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-exwn7q7QvLnWRq9TrG6jztejc2A0P4CxB8lKS981ZGA=";
|
||||
src = builtins.fetchGit {
|
||||
url = "https://codeberg.org/privacy1st/de-p1st-monitor";
|
||||
rev = "7c57eba12a512a3a4fe72c2d5cbfa80cebdbd3bd";
|
||||
};
|
||||
propagatedBuildInputs = [
|
||||
# Dependencies
|
||||
pkgs.python3Packages.psutil
|
||||
# Build dependencies
|
||||
setuptools
|
||||
build
|
||||
twine
|
||||
];
|
||||
nativeBuildInputs = with pkgs.python3Packages; [
|
||||
setuptools
|
||||
];
|
||||
}
|
||||
)
|
||||
];
|
||||
|
@ -5,24 +5,23 @@ let
|
||||
(
|
||||
buildPythonPackage rec {
|
||||
pname = "netcup-dns";
|
||||
# Important: When updating the version number, adjust the Git revision below accordingly!
|
||||
version = "0.2.3";
|
||||
# https://nixos.wiki/wiki/Packaging/Python#Fix_Missing_setup.py
|
||||
format = "pyproject";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-9iZWO5RBN/iD3qZdiI4f+kzvZm57isex2Hcmm8ai9Js=";
|
||||
src = builtins.fetchGit {
|
||||
url = "https://codeberg.org/privacy1st/netcup-dns";
|
||||
rev = "f231334e1b7858061efc7b3e98d21a2d10346369";
|
||||
};
|
||||
propagatedBuildInputs = [
|
||||
# Dependencies
|
||||
pkgs.python3Packages.requests
|
||||
pkgs.python3Packages.nc-dnsapi
|
||||
# Build dependencies
|
||||
setuptools
|
||||
build
|
||||
twine
|
||||
];
|
||||
nativeBuildInputs = with pkgs.python3Packages; [
|
||||
setuptools
|
||||
];
|
||||
}
|
||||
)
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user