Skip to content

Commit

Permalink
python311Packages.hdfs: refactor and remove nose
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukium committed Jun 4, 2024
1 parent 3e1b36a commit b62b88d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions pkgs/development/python-modules/hdfs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,34 @@
fastavro,
fetchFromGitHub,
lib,
nose,
pytestCheckHook,
requests,
setuptools,
six,
}:

buildPythonPackage rec {
pname = "hdfs";
version = "2.7.3";
format = "setuptools";
pyproject = true;

src = fetchFromGitHub {
owner = "mtth";
repo = pname;
repo = "hdfs";
rev = "refs/tags/v${version}";
hash = "sha256-Pm2E8hB0wbu7npi/sLt9D8jQsH69qNOHLji9CYqST/8=";
};

propagatedBuildInputs = [
build-system = [ setuptools ];

dependencies = [
docopt
requests
six
];

nativeCheckInputs = [
fastavro
nose
pytestCheckHook
];

Expand All @@ -42,5 +43,6 @@ buildPythonPackage rec {
changelog = "https://github.com/mtth/hdfs/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ samuela ];
mainProgram = "hdfscli";
};
}

0 comments on commit b62b88d

Please sign in to comment.