blob: e37b314f6b964260774d3e5a9f63df78d6675d8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "bsdiff4";
version = "1.2.6";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-KrV9AaeLOeKeWszJz+rUEwmC3tncy8QmG9DpxR1rdR0=";
};
pythonImportsCheck = [ "bsdiff4" ];
checkPhase = ''
mv bsdiff4 _bsdiff4
python -c 'import bsdiff4; bsdiff4.test()'
'';
meta = {
description = "Binary diff and patch using the BSDIFF4-format";
homepage = "https://github.com/ilanschnell/bsdiff4";
changelog = "https://github.com/ilanschnell/bsdiff4/blob/${version}/CHANGELOG.txt";
license = lib.licenses.bsdProtection;
maintainers = with lib.maintainers; [ ris ];
};
}
|