python3Packages.ols: init at at 0.1.0-unstable-2023-06-15
This commit is contained in:
parent
d0d623da15
commit
c91681c77c
|
@ -2,6 +2,8 @@
|
|||
{
|
||||
depthcharge-tools = callPackage ./depthcharge-tools { };
|
||||
feedsearch-crawler = callPackage ./feedsearch-crawler { };
|
||||
fastcluster = callPackage ./fastcluster { };
|
||||
ols = callPackage ./ols { };
|
||||
pa-dlna = callPackage ./pa-dlna { };
|
||||
pyln-bolt7 = callPackage ./pyln-bolt7 { };
|
||||
pyln-client = callPackage ./pyln-client { };
|
||||
|
|
36
pkgs/python-packages/fastcluster/default.nix
Normal file
36
pkgs/python-packages/fastcluster/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, numpy
|
||||
, scipy
|
||||
}: buildPythonPackage rec {
|
||||
pname = "mypackage";
|
||||
version = "1.2.6";
|
||||
# format = "pyproject"; # but i'd have to substitute "oldest_supported_numpy" -> "numpy"
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fastcluster";
|
||||
repo = "fastcluster";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-8FDipkAcOAI5zAC7JaJExe6HO1xHg+eXAL7IUIVrA3k=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
numpy
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
scipy
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"fastcluster"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://danifold.net/fastcluster.html";
|
||||
description = "fast hierarchical clustering routines for R and Python";
|
||||
maintainers = with maintainers; [ colinsane ];
|
||||
};
|
||||
}
|
49
pkgs/python-packages/ols/default.nix
Normal file
49
pkgs/python-packages/ols/default.nix
Normal file
|
@ -0,0 +1,49 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitea
|
||||
, aiohttp
|
||||
, fastcluster
|
||||
, fastjsonschema
|
||||
, mercantile
|
||||
, numpy
|
||||
, scipy
|
||||
, setuptools
|
||||
# , wheel
|
||||
}: buildPythonPackage {
|
||||
pname = "ols";
|
||||
version = "0.1.0-unstable-2023-06-15";
|
||||
format = "pyproject";
|
||||
# format = "setuptools";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "tpikonen";
|
||||
repo = "ols";
|
||||
rev = "069560accc6558f16d6d9abea63bd7563ea3f0e9";
|
||||
hash = "sha256-/931fc37QzITOA61D2CeXr/JmvDg0t8fLSt2y+2kSyQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
aiohttp
|
||||
fastcluster
|
||||
fastjsonschema
|
||||
mercantile
|
||||
numpy
|
||||
scipy
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
# wheel
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ols"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://codeberg.org/tpikonen/ols";
|
||||
description = "HTTP location service with Mozilla Location Service (MLS) compatible API";
|
||||
maintainers = with maintainers; [ colinsane ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user