Skip to content

Commit

Permalink
support.StreamDevice: reorder attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
minijackson committed Sep 26, 2024
1 parent d504d6d commit 9f6cab6
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions pkgs/epnix/support/StreamDevice/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,21 @@ in
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-/OgjdHvFr6sBRhOLa9F3KJeaxMiKuUuBduHUc4YLYBI=";
};

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

0 comments on commit 9f6cab6

Please sign in to comment.