Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport nixos-24.05] support.StreamDevice: 2.8.24 -> 2.8.26 #175

Merged
merged 2 commits into from
Sep 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions pkgs/epnix/support/StreamDevice/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,28 @@
local_config_site ? {},
local_release ? {},
}: let
version = "2.8.24";
version = "2.8.26";
in
mkEpicsPackage {
pname = "StreamDevice";
inherit version;
varname = "STREAM";

src = fetchFromGitHub {
owner = "paulscherrerinstitute";
repo = "StreamDevice";
rev = version;
# Tarball from GitHub is not completely reproducible due to usage of
# export-subst in .gitattributes for .VERSION
# See: https://epics.anl.gov/tech-talk/2022/msg01842.php
forceFetchGit = true;
hash = "sha256-/OgjdHvFr6sBRhOLa9F3KJeaxMiKuUuBduHUc4YLYBI=";
};

nativeBuildInputs = [pcre];
buildInputs = [pcre] ++ (with epnix.support; [sscan]);
propagatedBuildInputs = with epnix.support; [asyn calc];

inherit local_config_site;
local_release =
local_release
Expand All @@ -27,21 +42,6 @@ in
STREAM = null;
};

nativeBuildInputs = [pcre];
buildInputs = [pcre] ++ (with epnix.support; [sscan]);
propagatedBuildInputs = with epnix.support; [asyn calc];

src = fetchFromGitHub {
owner = "paulscherrerinstitute";
repo = "StreamDevice";
rev = version;
# Tarball from GitHub is not completely reproducible due to usage of
# export-subst in .gitattributes for .VERSION
# See: https://epics.anl.gov/tech-talk/2022/msg01842.php
forceFetchGit = true;
hash = "sha256-2MJ6CSNFc5rKijx5TFwwXStzj6zypS4cpMrcSuW4+F0=";
};

meta = {
description = "A generic EPICS device support for devices with a \"byte stream\" based communication interface";
homepage = "https://paulscherrerinstitute.github.io/StreamDevice/";
Expand Down