diff options
author | Felix Buehler <account@buehler.rocks> | 2021-08-27 16:47:49 +0200 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-08-29 11:28:34 +0200 |
commit | 540499bf10a42e65146655583560dffc54cc5556 (patch) | |
tree | 255257551bc76ed34a8162c0cc9fd38870b24c13 /pkgs/os-specific/linux/ioport | |
parent | 6e4706d62aa401dbe5e137100e0ef8710a59ff6c (diff) | |
download | nixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar nixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar.gz nixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar.bz2 nixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar.lz nixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar.xz nixpkgs-540499bf10a42e65146655583560dffc54cc5556.tar.zst nixpkgs-540499bf10a42e65146655583560dffc54cc5556.zip |
os-specific/linux: replace name with pname&version
Diffstat (limited to 'pkgs/os-specific/linux/ioport')
-rw-r--r-- | pkgs/os-specific/linux/ioport/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/ioport/default.nix b/pkgs/os-specific/linux/ioport/default.nix index 543495ec2af..6da154648fc 100644 --- a/pkgs/os-specific/linux/ioport/default.nix +++ b/pkgs/os-specific/linux/ioport/default.nix @@ -1,12 +1,16 @@ { lib, stdenv, perl, fetchurl }: -stdenv.mkDerivation { - name = "ioport-1.2"; +stdenv.mkDerivation rec { + pname = "ioport"; + version = "1.2"; + src = fetchurl { - url = "https://people.redhat.com/rjones/ioport/files/ioport-1.2.tar.gz"; + url = "https://people.redhat.com/rjones/ioport/files/ioport-${version}.tar.gz"; sha256 = "1h4d5g78y7kla0zl25jgyrk43wy3m3bygqg0blki357bc55irb3z"; }; + buildInputs = [ perl ]; + meta = with lib; { description = "Direct access to I/O ports from the command line"; homepage = "https://people.redhat.com/rjones/ioport/"; |