nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 six,
6}:
7
8buildPythonPackage rec {
9 pname = "pathlib2";
10 version = "2.3.7.post1";
11 format = "setuptools";
12
13 src = fetchPypi {
14 inherit pname version;
15 hash = "sha256-n+DtrYmLg8DD4ZnIQrJ+0hZkXS4Xd1ey3Wc4TUETxkE=";
16 };
17
18 propagatedBuildInputs = [
19 six
20 ];
21
22 meta = {
23 description = "This module offers classes representing filesystem paths with semantics appropriate for different operating systems";
24 homepage = "https://pypi.org/project/pathlib2/";
25 license = with lib.licenses; [ mit ];
26 maintainers = [ ];
27 };
28}