nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 67 lines 1.3 kB view raw
1{ lib 2, stdenv 3, buildPythonPackage 4, certifi 5, fastimport 6, fetchPypi 7, gevent 8, geventhttpclient 9, git 10, glibcLocales 11, gpgme 12, mock 13, pkgs 14, urllib3 15, paramiko 16, pythonOlder 17}: 18 19buildPythonPackage rec { 20 version = "0.20.40"; 21 pname = "dulwich"; 22 format = "setuptools"; 23 24 disabled = pythonOlder "3.6"; 25 26 src = fetchPypi { 27 inherit pname version; 28 hash = "sha256-vtcO/gt91RpHvOqbmEqwamdddDi3izLaHLr891D7utc="; 29 }; 30 31 LC_ALL = "en_US.UTF-8"; 32 33 propagatedBuildInputs = [ 34 certifi 35 urllib3 36 ]; 37 38 checkInputs = [ 39 fastimport 40 gevent 41 geventhttpclient 42 git 43 glibcLocales 44 gpgme 45 pkgs.gnupg 46 mock 47 paramiko 48 ]; 49 50 doCheck = !stdenv.isDarwin; 51 52 pythonImportsCheck = [ 53 "dulwich" 54 ]; 55 56 meta = with lib; { 57 description = "Simple Python implementation of the Git file formats and protocols"; 58 longDescription = '' 59 Dulwich is a Python implementation of the Git file formats and protocols, which 60 does not depend on Git itself. All functionality is available in pure Python. 61 ''; 62 homepage = "https://www.dulwich.io/"; 63 changelog = "https://github.com/dulwich/dulwich/blob/dulwich-${version}/NEWS"; 64 license = with licenses; [ asl20 gpl2Plus ]; 65 maintainers = with maintainers; [ koral ]; 66 }; 67}