mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge pull request #55764 from oxij/pkgs/nasm-from-source
nasm: build from source
This commit is contained in:
commit
2f6b01f510
@ -1,15 +1,18 @@
|
|||||||
{ stdenv, fetchurl, perl }:
|
{ stdenv, fetchFromRepoOrCz, autoreconfHook, perl, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nasm-${version}";
|
name = "nasm-${version}";
|
||||||
version = "2.14.02";
|
version = "2.14.02";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromRepoOrCz {
|
||||||
url = "https://www.nasm.us/pub/nasm/releasebuilds/${version}/${name}.tar.bz2";
|
repo = "nasm";
|
||||||
sha256 = "1g409sr1kj7v1089s9kv0i4azvddkcwcypnbakfryyi71b3jdz9l";
|
rev = name;
|
||||||
|
sha256 = "15z6ybnzlsrqs2964h6czqhpmr7vc3ln4y4h0z9vrznk4mqcwbsa";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ perl ];
|
nativeBuildInputs = [ autoreconfHook perl asciidoc xmlto docbook_xml_dtd_45 docbook_xsl ];
|
||||||
|
|
||||||
|
postBuild = "make manpages";
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user