Merge pull request #113253 from SuperSandro2000/packages
This commit is contained in:
commit
d7ec53a77f
|
@ -1,34 +1,27 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, numpy
|
||||
, pandas
|
||||
, python
|
||||
, setuptools
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "xarray";
|
||||
version = "0.16.1";
|
||||
version = "0.16.2";
|
||||
disabled = !isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5e1af056ff834bf62ca57da917159328fab21b1f8c25284f92083016bb2d92a5";
|
||||
sha256 = "sha256-OOhDnWyRvNW3wPyjSdr44GQ6xohQyYcmLVNSbp19AeQ=";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
propagatedBuildInputs = [ numpy pandas setuptools ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest $out/${python.sitePackages}
|
||||
'';
|
||||
|
||||
# There always seem to be broken tests...
|
||||
doCheck = false;
|
||||
|
||||
disabled = !isPy3k;
|
||||
pythonImportsCheck = [ "xarray" ];
|
||||
|
||||
meta = {
|
||||
description = "N-D labeled arrays and datasets in Python";
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
{ lib, python3Packages, fetchFromGitHub }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "savepagenow";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pastpages";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1lz6rc47cds9rb35jdf8n13gr61wdkh5jqzx4skikm1yrqkwjyhm";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [ click requests ];
|
||||
|
||||
# requires network access
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple Python wrapper for archive.org's \"Save Page Now\" capturing service";
|
||||
homepage = "https://github.com/pastpages/savepagenow";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
|
@ -2,16 +2,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "topgrade";
|
||||
version = "6.5.0";
|
||||
version = "6.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "r-darwish";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-O2k9eUs+aopwtT/DXYIv9pc9z8W4K6cXUE6diqNDTrg=";
|
||||
sha256 = "sha256-5S9mKmnrycrL7DFq8duWVbzEHQfiXAXQYcc3bdiVu1k=";
|
||||
};
|
||||
|
||||
cargoSha256 = "1yjhphw680cf93lgknksa67k0w0rhq6s3jinyn649wd71gbc5656";
|
||||
cargoSha256 = "0sbkqdwfsfb7q52a9vh5lmggrc8ny2l0xr4qx3m42xm0h64f3y6n";
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin Foundation;
|
||||
|
||||
|
|
|
@ -20780,6 +20780,8 @@ in
|
|||
|
||||
sarasa-gothic = callPackage ../data/fonts/sarasa-gothic { };
|
||||
|
||||
savepagenow = callPackage ../tools/misc/savepagenow { };
|
||||
|
||||
scheme-manpages = callPackage ../data/documentation/scheme-manpages { };
|
||||
|
||||
scowl = callPackage ../data/misc/scowl { };
|
||||
|
|
Loading…
Reference in New Issue