dex: fix cross compilation, set strictDeps

This commit is contained in:
Nick Cao 2023-06-21 16:31:56 +08:00
parent 83805599a9
commit 31dcc42427
No known key found for this signature in database

View file

@ -1,4 +1,9 @@
{ lib, stdenv, fetchFromGitHub, python3 }:
{ lib
, stdenv
, fetchFromGitHub
, python3
, sphinx
}:
stdenv.mkDerivation rec {
pname = "dex";
@ -11,8 +16,10 @@ stdenv.mkDerivation rec {
sha256 = "03aapcywnz4kl548cygpi25m8adwbmqlmwgxa66v4156ax9dqs86";
};
propagatedBuildInputs = [ python3 ];
nativeBuildInputs = [ python3.pkgs.sphinx ];
strictDeps = true;
nativeBuildInputs = [ sphinx ];
buildInputs = [ python3 ];
makeFlags = [ "PREFIX=$(out)" "VERSION=$(version)" ];
meta = with lib; {
@ -20,5 +27,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/jceb/dex";
platforms = platforms.linux;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ nickcao ];
};
}