ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / rencode / default.nix
blob86192cbc29caad56e1b5c874922dcc868719cffe
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , cython
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "rencode";
10   version = "unstable-2021-08-10";
12   format = "setuptools";
14   src = fetchFromGitHub {
15     owner = "aresch";
16     repo = "rencode";
17     rev = "572ff74586d9b1daab904c6f7f7009ce0143bb75";
18     hash = "sha256-cL1hV3RMDuSdcjpPXXDYIEbzQrxiPeRs82PU8HTEQYk=";
19   };
21   nativeBuildInputs = [ cython ];
23   checkInputs = [
24     pytestCheckHook
25   ];
27   preCheck = ''
28     # import from $out
29     rm -r rencode
30   '';
32   meta = with lib; {
33     homepage = "https://github.com/aresch/rencode";
34     description = "Fast (basic) object serialization similar to bencode";
35     license = licenses.gpl3Plus;
36     maintainers = with maintainers; [ ];
37   };