biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / resolve-march-native / default.nix
bloba5db33e712ab95725ef1e8c7b15e0b475cb027b9
1 { python3Packages
2 , fetchFromGitHub
3 , gcc
4 , lib
5 }:
7 python3Packages.buildPythonApplication rec {
8   pname = "resolve-march-native";
9   version = "5.0.2";
11   src = fetchFromGitHub {
12     owner = "hartwork";
13     repo = pname;
14     rev = "refs/tags/${version}";
15     hash = "sha256-fkiEWZvg/h8Gn0TL3Ov8aq2cAG5VncUTrVcUTRNOx+Y=";
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     mainProgram = "resolve-march-native";
26     homepage = "https://github.com/hartwork/resolve-march-native";
27     license = licenses.gpl2Plus;
28     maintainers = with maintainers; [ lovesegfault ];
29     platforms = platforms.unix;
30   };