567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
30 lines
717 B
Nix
30 lines
717 B
Nix
{
|
|
pname,
|
|
fetchurl,
|
|
lib,
|
|
}:
|
|
rec {
|
|
version = "4.3.7";
|
|
inherit pname;
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/project/linux-gpib/linux-gpib%20for%203.x.x%20and%202.6.x%20kernels/${version}/linux-gpib-${version}.tar.gz";
|
|
hash = "sha256-s/+BJgaGXIW1iwEqQhim/juC0XfIwKvHlcsi20HzrWg=";
|
|
};
|
|
|
|
unpackPhase = ''
|
|
tar xf $src
|
|
tar xf linux-gpib-${version}/${pname}-${version}.tar.gz
|
|
'';
|
|
|
|
sourceRoot = "${pname}-${version}";
|
|
|
|
meta = {
|
|
description = "Support package for GPIB (IEEE 488) hardware";
|
|
homepage = "https://linux-gpib.sourceforge.io/";
|
|
license = lib.licenses.gpl2Only;
|
|
maintainers = with lib.maintainers; [ fsagbuya ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|