1{
2 pname,
3 fetchurl,
4 lib,
5}:
6rec {
7 version = "4.3.6";
8 inherit pname;
9
10 src = fetchurl {
11 url = "mirror://sourceforge/project/linux-gpib/linux-gpib%20for%203.x.x%20and%202.6.x%20kernels/${version}/linux-gpib-${version}.tar.gz";
12 hash = "sha256-Gze4xrvkhEgn+J5Jhrycezjp2uhlD1v6aX0WGv4J2Jg=";
13 };
14
15 unpackPhase = ''
16 tar xf $src
17 tar xf linux-gpib-${version}/${pname}-${version}.tar.gz
18 '';
19
20 sourceRoot = "${pname}-${version}";
21
22 meta = with lib; {
23 description = "Support package for GPIB (IEEE 488) hardware";
24 homepage = "https://linux-gpib.sourceforge.io/";
25 license = licenses.gpl2Only;
26 maintainers = with maintainers; [ fsagbuya ];
27 platforms = platforms.linux;
28 };
29}