python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / tools / resolve-march-native / default.nix
blob963e5ad120980c57b9486e7dd295c4f74e83aaaf
1 { python3Packages
2 , fetchFromGitHub
3 , gcc
4 , lib
5 }:
7 python3Packages.buildPythonApplication rec {
8   pname = "resolve-march-native";
9   version = "unstable-2022-07-29";
11   src = fetchFromGitHub {
12     owner = "hartwork";
13     repo = pname;
14     rev = "acfc87875e19ae9d4b0e5c9de1d21bc259415336";
15     hash = "sha256-Hdy8/fJXQV3p51EggyLqE2t00O0phwZjbqPhhMQKT5E=";
16   };
18   # NB: The tool uses gcc at runtime to resolve the -march=native flags
19   propagatedBuildInputs = [ gcc ];
21   doCheck = true;
23   meta = with lib; {
24     description = "Tool to determine what GCC flags -march=native would resolve into";
25     homepage = "https://github.com/hartwork/resolve-march-native";
26     license = licenses.gpl2Plus;
27     maintainers = with maintainers; [ lovesegfault ];
28     platforms = platforms.linux;
29   };