mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-15 03:06:33 +01:00
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
26 lines
512 B
Nix
26 lines
512 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "linode";
|
|
version = "0.4";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "db3c2a7fab8966d903a63f16c515bff241533e4ef2d746aa7aae4a49bba5e573";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/ghickman/linode";
|
|
description = "Thin python wrapper around Linode's API";
|
|
license = lib.licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|