-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
dpcmd: Init package #160847
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
dpcmd: Init package #160847
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,38 @@ | ||||||
| { fetchFromGitHub | ||||||
| , lib | ||||||
| , libusb1 | ||||||
| , pkg-config | ||||||
| , stdenv | ||||||
| }: | ||||||
|
|
||||||
| stdenv.mkDerivation rec { | ||||||
| pname = "dpcmd"; | ||||||
| version = "1.2"; | ||||||
|
|
||||||
| src = fetchFromGitHub { | ||||||
| rev = "f5646a6fa966f2c2d0e3d7b2d234454fb9d4229a"; | ||||||
| owner = "DediProgSW"; | ||||||
| repo = "SF100Linux"; | ||||||
| sha256 = "0ljqqlzxsp74aci3h0ll59pifjkqskl4vp2898k79b6knb13xhil"; | ||||||
| }; | ||||||
|
|
||||||
| nativeBuildInputs = [ pkg-config ]; | ||||||
| buildInputs = [ libusb1 ]; | ||||||
|
|
||||||
| installPhase = '' | ||||||
| runHook preInstall | ||||||
|
|
||||||
| install -Dm755 ./dpcmd $out/bin/dpcmd | ||||||
| install -Dm644 ChipInfoDb.dedicfg $out/share/DediProg/ChipInfoDb.dedicfg | ||||||
|
|
||||||
| runHook postInstall | ||||||
| ''; | ||||||
|
|
||||||
| meta = with lib; { | ||||||
| homepage = "https://github.com/DediProgSW/SF100Linux"; | ||||||
| description = "Linux software for SF100/SF600"; | ||||||
| license = licenses.gpl2; | ||||||
| maintainers = with maintainers; [ felixsinger ]; | ||||||
| platforms = platforms.linux; | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Is there something about the software that fundamentally cannot work on other unices? I know upstream put "Linux" in the name of the package, but there are no Linux-specific Overly-restrictive |
||||||
| }; | ||||||
| } | ||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What should I do here if the developers don't specify a version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Set the version to
unstable-YYYY-MM-DD; that's what I was told to do for theem100package.